Don't ask to ask, just ask | |
PerlMonks |
Re: Regex Substitution in subby Aristotle (Chancellor) |
on Jun 04, 2003 at 23:31 UTC ( [id://263180]=note: print w/replies, xml ) | Need Help?? |
Just wanted to note that you shouldn't use /o. it does nothing in the examples you showed, so I suspect you don't know what exactly its effects are; in that case it can get you in big trouble. If you are using it because you read that it is about efficiency, read up about the qr// "operator" whose introduction in Perl 5.005 (almost) obsoleted /o.
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|