can somebody please explain to me whats the "o" means.
In interpolating patterns, /o will only interpolate once, the first time the regex is evaluated.
is the same asfor my $x (qw( foo bar )) { /$x/o; }
/foo/; /foo/;
It's used for optimising, but it's made rather useless by qr//.
In reply to Re: A regular expression (or regex)
by ikegami
in thread A regular expression (or regex)
by anakin30
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |