1Prima::Stress(3) User Contributed Perl Documentation Prima::Stress(3)
2
3
4
6 Prima::Stress - stress test module
7
9 The module is intended for use in test purposes, to check the
10 functionality of a program or a module under particular conditions that
11 might be overlooked during the design. Currently, the only stress
12 factor implemented is change of the default font size, which is set to
13 different value every time the module is invoked.
14
15 To use the module functionality it is enough to include a typical
16
17 use Prima::Stress;
18
19 code, or, if the program is invoked by calling perl, by using
20
21 perl -MPrima::Stress program
22
23 syntax. The module does not provide any methods, however one may
24 address individual aspects of UI defaults.
25
27 Font size
28 use Prima::Stress q(fs=18);
29 perl -MPrima::Stress=fs=18 program
30
31 This syntax changes the default font size to 18 points.
32
33 Display resolution
34 use Prima::Stress q(dpi=192);
35 perl -MPrima::Stress=dpi=192 program
36
37 This syntax changes the display resolution to 192 pixels per inch.
38
40 Dmitry Karasik <dmitry@karasik.eu.orgk>,
41
42
43
44perl v5.36.0 2022-07-22 Prima::Stress(3)