Ovid wrote:
> I do get tired of writing code like that (it happens a lot in test
> suites when I have "use_ok $CLASS" in a BEGIN block).
>   


OT, but 'ok.pm' is quite nice:

   use Test::More tests => 1;
   use ok 'My::Module'; # test runs at compile time

Regards,
Jonathan Rockway


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to