http://www.perlmonks.org?node_id=62401


in reply to (jptxs)Re: Perl is psychic?!
in thread Perl is psychic?!

Yes, but Perl dosen't set $& if you don't use it, and it was impossible to know that it would be used...

Replies are listed 'Best First'.
Re (tilly) 3: Perl is psychic?!
by tilly (Archbishop) on Mar 06, 2001 at 06:50 UTC
    Whoever voted down the above node completely missed the point. MrNobo1024 is completely correct in saying that if Perl worked as documented as far back as, say, Camel 2 then it should not have had enough information to calculate $&.