in reply to qr//o ... "o"??

It's silly that it should accept the /o modifier (and thus that it is documented to). I should patch that...

japhy -- Perl and Regex Hacker

Replies are listed 'Best First'.
Re: Re: qr//o ...
by I0 (Priest) on Jul 14, 2001 at 13:43 UTC
    #why is it silly? for my $match ("hi","lo"){ my $re= qr/($match)/o; print "\$match is $match\n"; print "'chimp' matches (", 'chimp' =~ $re, ")\n"; print "'slow' matches (", 'slow' =~ $re, ")\n"; }
Re: Re: qr//o ...
by sierrathedog04 (Hermit) on Jul 12, 2001 at 05:43 UTC
    What? You patch Perl? Send it in and it sometimes gets accepted? How? Which version of Perl do you patch?