Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 perusing the Monastery: (8)
As of 2015-11-25 01:56 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (667 votes), past polls