Prima::Stress - stress test module
The module is intended for use in test purposes, to check the functionality of a program or a module under particular conditions that might be overlooked during the design. Currently, the only stress factor implemented is change of the default font size, which is set to different value every time the module is invoked.
To use the module functionality it is enough to include a typical
code, or, if the program is invoked by calling perl, by using
perl -MPrima::Stress program
syntax. The module does not provide any methods, however one may address individual aspects of UI defaults.
use Prima::Stress q(fs=18);
perl -MPrima::Stress=fs=18 program
This syntax changes the default font size to 18 points.
use Prima::Stress q(dpi=192);
perl -MPrima::Stress=dpi=192 program
This syntax changes the display resolution to 192 pixels per inch.
Dmitry Karasik <email@example.com>,
To install Prima, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.