Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

sky (1411)

  (email not shown publicly)

sky on IRC

Journal of sky (1411)

Tuesday June 26, 2001
03:46 AM

/o is fixed!

[ #333 ]
Thanks to Richard Söderberg (coral) /o now works under ithreads and is also tested!

Normally a regex that contains a variable looks like


however if /o is specified the first call to op_regcomp changes the optree to


this will never recompile the op. However this is not doable in ithreads, so instead regcomp checks if it should be called or not and returns before it compiles the regex if it has been compiled and /o is specified. This is a bit slower but atleast it works! Also pat.t test 633 and 634 tests /o behaviour!