Re: Error puzzler

[email protected] (John Douglas Porter) Fri, 15 Sep 2006 11:47:40 -0700 (PDT)
Newsgroups perl.fwp
Message-ID <[email protected]>
Peter Scott <[email protected]> wrote:
> The documentation is clear that <> doesn't
> localize $_.  Why not?
> Just so that if someone wanted to get at the last
> value after the loop they could do it without an extra variable?

With all this talk of local $_, I feel compelled to
point out an insidious problem with the technique; see
http://perlmonks.org/?node_id=561931

-- 
John Douglas Porter


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com