in reply to Re: Character class in an array
in thread Character class in an array
You're repeating that interpolation on every trip through the loop, when you could be using qr// to compile your regex once and then forget about it.
The /o flag on the regex will also work without requiring him to create a regex scalar with qr//.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Character class in an array
by PodMaster (Abbot) on Sep 18, 2002 at 02:50 UTC | |
by Fastolfe (Vicar) on Sep 21, 2002 at 18:25 UTC | |
Re^3: Character class in an array
by Aristotle (Chancellor) on Sep 17, 2002 at 22:08 UTC | |
by Fastolfe (Vicar) on Sep 21, 2002 at 18:23 UTC | |
by Aristotle (Chancellor) on Sep 21, 2002 at 22:25 UTC |
In Section
Seekers of Perl Wisdom