in reply to Strategy for conditional logging in tests
If you put your subroutine in a .pm file, you can diddle the logging to appropriate levels in the .t and .pl files instead of having to do conditional hacks based on caller().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Strategy for conditional logging in tests
by andreas1234567 (Vicar) on Apr 01, 2008 at 16:38 UTC | |
by Thilosophy (Curate) on Apr 02, 2008 at 04:30 UTC | |
by andreas1234567 (Vicar) on Apr 02, 2008 at 05:28 UTC | |
by Thilosophy (Curate) on Apr 02, 2008 at 08:42 UTC | |
by andreas1234567 (Vicar) on Apr 02, 2008 at 09:29 UTC |