From: Ronald J Kimball [mailto:rjk@linguist.dartmouth.edu] > > It looks to me as if it did localize $/ -- but only _after_ > > storing undef into it. Oops! > > > > That was my guess, too, but further tests don't seem to be > consistent with that conclusion: Could it be that Perl is 1. Storing undef into $/ 2. Looking at the local() 3. "Realising" that, as $/ is undefined, it is a new variable and so localising is "unnecessary", therefore not doing it. Ie, could it be an optimiser bug? Paul.Thread Previous | Thread Next