Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^9: type glob

by ikegami (Patriarch)
on Nov 18, 2009 at 22:55 UTC ( [id://808051]=note: print w/replies, xml ) Need Help??


in reply to Re^8: type glob
in thread type glob

just that one's not likely to see it in casual use.

If a child scope has a variable with the same name as its parent scope, it would look like

my $x; sub foo { ... $x ... } sub bar { ... my $x ... }

What you said boils down to saying bar is unlikely to call foo, and I don't see how that is true.

I it is unlikely that the same var name is used at two levels in a working program, but that's something else.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found