Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 pondering the Monastery: (10)
As of 2015-07-07 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls