![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
That's a great point. I use that pattern also for when I may want to skip a test file entirely if a test dependency isn't available.
It could be done in a BEGIN block, too, but I find it more readable without them. -xdg Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk. In reply to Re^2: Passing Dynamic Value to Test::More tests
by xdg
|
|