in reply to Bitten by the lazy execution bug?

Does assigning $1, $2 and $3 to variables also fix the problem? I've had enough problems with the regex match vars that I always copy them to variables immediately after the regex.

Also, what version of Perl is this? I remember having trouble with this kind of thing in v5.8.0 especially. You might try upgrading if you're not running the latest and greatest.

-sam

Replies are listed 'Best First'.
Re^2: Bitten by the lazy execution bug?
by Anonymous Monk on Dec 08, 2007 at 17:52 UTC
    I appear to be running v5.8.4 built for i386-linux-thread-multi