Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2015-10-08 19:32 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (223 votes), past polls