in reply to Re^2: testing a croak
in thread testing a croak
If you load Test::Exception with use_ok you need to do so in a BEGIN block.
BEGIN { use_ok('Test::Exception'}; }
will work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: testing a croak
by Anonymous Monk on Jan 19, 2006 at 14:39 UTC | |
by tirwhan (Abbot) on Jan 19, 2006 at 14:57 UTC | |
by arcnon (Monk) on Jan 19, 2006 at 16:35 UTC |