in reply to Naughty match variables in CPAN?

What does this buy you over a quick recusive egrep of the modules you are using? For instance Math::MatrixReal returns a line such as:
$string = $';

You know if there is a match for one of those vars you will see the problem.

-Waswas

Replies are listed 'Best First'.
Re: Re: Naughty match variables in CPAN?
by theorbtwo (Prior) on Jul 22, 2003 at 06:25 UTC

    You can't do that because the code $money =  '$'.$money if ($currency eq 'USD'); also matches. (Only perl can parse Perl.)


    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).