Larry Leszczynski wrote:
Between sawampersand and grep'ing my code, I did find an instance of $&.
I removed it, but I am still seeing the problem.

Did you actually use Devel::SawAmpersand to test it? There are other modules that pull those in, e.g. if you do 'use English'.


On a related note, it's possible to 'use English' *without* pulling in the
problematic regex match variables, like so:

use English qw( -no_match_vars ); # Avoids regex performance penalty

Thanks Larry, the Devel::SawAmpersand manpage documents that: http://search.cpan.org/dist/Devel-SawAmpersand/lib/Devel/SawAmpersand.pm

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to