Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Does while localize $_?

by merlyn (Sage)
on Mar 19, 2001 at 00:07 UTC ( #65293=note: print w/replies, xml ) Need Help??


in reply to Does while localize $_?
in thread What would you do?

No, while doesn't use automatic localizing. Foreach does.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Does while localize $_?
by tenya (Beadle) on May 25, 2001 at 07:46 UTC
    Which is helpful because this allows while loops inside the foreach loop to use the foreach $_. Correct?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://65293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2020-11-25 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?