|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: Re: Re: Common Regex Gotchasby chipmunk (Parson) |
| on May 09, 2001 at 00:30 UTC ( #78944=note: print w/ replies, xml ) | Need Help?? |
|
Happily, that doesn't appear to be the case. I don't see any occurence of the $& et al. variables in the code for Benchmark.pm
The real problem here is the use of /e on the substitution, when this would work just as well and be much more efficient:
s/(\w+)/\U$1/g;
In Section
Tutorials
|
|
||||||||||||||||||||||||