Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Duh. 'my' scope in if else blocks.

by Thilosophy (Curate)
on Dec 11, 2007 at 02:53 UTC ( #656301=note: print w/ replies, xml ) Need Help??


in reply to Duh. 'my' scope in if else blocks.

I noticed this because I was running with use warnings, something I don't normally do.

What warning did you get? I am on 5.8.8, too, and there is no warning.

Or did you notice the absence of a warning you expected? But if you expected $t to be out of scope, that should have been a compile error (because of use strict) rather than a warning.


Comment on Re: Duh. 'my' scope in if else blocks.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-09-02 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls