I'd like to add to this, "Just don't use /o!"
It was useful in Perl4. In Perl5 it is not very useful (the performance gain it provides is small and not as good as that provided by better alternatives) and it is confusing to the point of causing bugs.
If you haven't identified a performance problem, then don't worry about it. If you have, then use qr// (if you have regular expression that contain variables).
- tyeIn reply to Re^3: Fast morphing of SYBASE data to flat-file (say "no" to /o)
by tye
in thread Fast morphing of SYBASE data to flat-file
by singjoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |