in reply to Is this code secure, can I test it on my machine?

Seems to me this would be an excellent use of a module that people tend think I abhor. Perl::Critic. Seems likely that it will flag most of the "potentially dangerous" code by default. And with a little careful tuning of the profile--turning off the warnings for benign code--, you should be able to get it to tell you about just those things you are interested in.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP an inspiration; A true Folk's Guy
  • Comment on Re: Is this code secure, can I test it on my machine?

Replies are listed 'Best First'.
Re^2: Is this code secure, can I test it on my machine?
by szabgab (Priest) on May 23, 2010 at 14:55 UTC
    Apparently more and more of my questions get the answer use Perl::Critic. Maybe I need to learn how to use it more that just running perlcritic.