Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Lexicals in if() scope gotcha!

by davido (Cardinal)
on Mar 31, 2004 at 06:57 UTC ( [id://341226]=note: print w/replies, xml ) Need Help??


in reply to Re: Lexicals in if() scope gotcha!
in thread Lexicals in if() scope gotcha!

Out of curiosity, is the same true of while loops and foreach loops, where continue blocks might place the same constraints on lexicals as else blocks do for if constructs?


Dave

Replies are listed 'Best First'.
Re: Lexicals in if() scope gotcha!
by Abigail-II (Bishop) on Mar 31, 2004 at 08:14 UTC
    Yes.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-03-28 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found