in reply to executing code within a regex

For the record, if $line is set to "hello && world || other" then the output that I get is:
cond && Conditionals: && cond || Conditionals: &&, ||
which I think is what you want. So I'd suggest filing a bug report.

(This was tested in Perl 5.8.3 under Linux.)

Replies are listed 'Best First'.
Re: Re: executing code within a regex
by ColonelPanic (Friar) on May 07, 2004 at 21:36 UTC
    Thanks a lot for trying it out. I guess I'll have to work around that for now.


    When's the last time you used duct tape on a duct? --Larry Wall