|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Why is my test failing?by haoess (Curate) |
| on Mar 06, 2008 at 11:21 UTC ( #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
|
|
||||||||||||||||||||