develooper Front page | perl.perl5.porters | Postings from April 2006

[PATCH] t/op/hashwarn.t using

Thread Next
David Landgren
April 29, 2006 08:47
[PATCH] t/op/hashwarn.t using
Message ID:
This patch

   - rips out the hand-rolled testing routines.
   - matches the emitted warnings with substr/length instead of regexps
   - ensures that each test produces only the expected warnings
   - which removes the need to test at the end of the script if any
uncaught warnings were left behind.

As I was patching this, I wanted to write

   ok($expr,'msg') or diag($context);

but doesn't offer a diag() function. It does offer a _diag() 
function though. Is there any chance (or desire) to make a diag() available?

hope still, a little resistance always maybe stubborn tiny lights vs. 
clustering darkness forever ok?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About