| 1 |
Test-Trap |
| 2 |
|
| 3 |
Primarily (but not exclusively) for use in test scripts: A block eval |
| 4 |
on steroids, configurable and extensible, but by default trapping |
| 5 |
(Perl) STDOUT, STDERR, warnings, exceptions, would-be exit codes, and |
| 6 |
return values from boxed blocks of test code. |
| 7 |
|
| 8 |
INSTALLATION |
| 9 |
|
| 10 |
To install this module, run the following commands: |
| 11 |
|
| 12 |
perl Makefile.PL |
| 13 |
make |
| 14 |
make test |
| 15 |
sudo make install |
| 16 |
|
| 17 |
(If you are running as root, you may drop "sudo", and just run "make install".) |
| 18 |
|
| 19 |
Alternatively, for those without a proper make, the Module::Build approach: |
| 20 |
|
| 21 |
perl Build.PL |
| 22 |
perl Build |
| 23 |
perl Build test |
| 24 |
sudo perl Build install |
| 25 |
|
| 26 |
(Again, if you are running as root, you may run "make install" without "sudo".) |
| 27 |
|
| 28 |
|
| 29 |
COPYRIGHT AND LICENCE |
| 30 |
|
| 31 |
Copyright (C) 2006-2014 Eirik Berg Hanssen |
| 32 |
|
| 33 |
This library is free software; you can redistribute it and/or modify |
| 34 |
it under the same terms as Perl itself. |