Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi KeighleHawk, The default Perl::Critic doesn't seem to have a policy against the "do FILE" form of invoking code. But Perl::Critic is also just a set of hints that are sometimes very helpful, but sometimes the programmer knows better. If you know what you're doing with eval (security-wise etc.), I see no problem with sticking a ## no critic (ProhibitStringyEval) on that line. Lastly, if I may shamelessly plug one of my own modules, see my post from a little while ago: Undumping Perl, depending on what your data files look like it might work for you. Hope this helps, In reply to Re: perlcritic compliant way to eval?
by haukex
|
|