Welcome to the Monastery | |
PerlMonks |
Re: Why is my test failing?by haoess (Curate) |
on Mar 06, 2008 at 11:21 UTC ( [id://672431]=note: print w/replies, xml ) | Need Help?? |
eval { use Test::Perl::Critic (-profile => 't/perlcriticrc'); }; No. You are using eval BLOCK syntax, so the use statement is executed at compile time. To get this catched use eval STRING as in
-- Frank
In Section
Seekers of Perl Wisdom
|
|