Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: Pseudo-switch question

by fletcher_the_dog (Friar)
on Jul 22, 2003 at 16:27 UTC ( [id://276798]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Pseudo-switch question
in thread Pseudo-switch question

Doesn't "for" always automatically localize "$_" like in this example?
my @list = qw(I Like tacos); for (@list) { print "A:".$_."\n"; for ("Hello") { print "B:".$_."\n"; } print "C:".$_."\n"; }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-20 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found