Test::Presenter::Present - A submodule for Test::Presenter This module provides a methods for outputting test results with the gnuplot tool. Other tools can be supported in the future, however.
$report->to_plot("output.png", "lines");
Test::Presenter::Present is a helper module to give Test::Presenter the ability to output test results with the help of gnuplot. This is supported through the use of the to_plot() method.
Purpose: Allow our perl object to be outputted with gnuplot Input: The item number, a filename to save the generated gnuplot, a style for the gnuplot ('lines', 'dots', .etc This is the default, an xyplot. Later this will select the correct type of plot. Output: file of type png.
To install Test::Presenter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Presenter
CPAN shell
perl -MCPAN -e shell install Test::Presenter
For more information on module installation, please visit the detailed CPAN module installation guide.