| 1 |
NAME |
| 2 |
|
| 3 |
Devel::SimpleTrace - See where you code warns and dies using stack traces |
| 4 |
|
| 5 |
|
| 6 |
DESCRIPTION |
| 7 |
|
| 8 |
This module can be used to more easily spot the place where a program or |
| 9 |
a module generates errors. Its use is extremely simple, you just need to |
| 10 |
load it. |
| 11 |
|
| 12 |
This is achieved by modifying the functions warn() and die() in order |
| 13 |
to replace the standard messages by complete stack traces that precisely |
| 14 |
indicates how and where the error or warning occurred. Other than this, |
| 15 |
their use should stay unchanged, even when using die() inside eval(). |
| 16 |
|
| 17 |
|
| 18 |
INSTALLATION |
| 19 |
|
| 20 |
To install this module, run the following commands: |
| 21 |
|
| 22 |
perl Makefile.PL |
| 23 |
make |
| 24 |
make test |
| 25 |
make install |
| 26 |
|
| 27 |
|
| 28 |
Alternatively, to install with Module::Build, you can use the |
| 29 |
following commands: |
| 30 |
|
| 31 |
perl Build.PL |
| 32 |
./Build |
| 33 |
./Build test |
| 34 |
./Build install |
| 35 |
|
| 36 |
|
| 37 |
COPYRIGHT AND LICENCE |
| 38 |
|
| 39 |
Copyright (C) 2004-2011 Sébastien Aperghis-Tramoni <[email protected]> |
| 40 |
|
| 41 |
This library is free software; you can redistribute it and/or modify |
| 42 |
it under the same terms as Perl itself. |