25 July 2011 10:45
perlfaq6 - what is /o really for ?
(via)The /o option for regular expressions (documented in perlop and perlreref) tells Perl to compile the regular expression only once.
This is only useful when the pattern contains a variable.
Perls 5.6 and later handle this automatically if the pattern does not change.
1
(1 marks)