Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Barstool Trivia

by saucepan (Scribe)
on Dec 15, 2000 at 23:51 UTC ( #46902=note: print w/replies, xml ) Need Help??


in reply to Re: Barstool Trivia
in thread Barstool Trivia

It's not clear that changing packages counts as a scope since it doesn't affect lexical variables:

package SomePackage; my $foo = "bar\n"; package main; print $foo; # prints 'bar'

I could be wrong about the formal definition of a "scope", though. We'll have to leave that up to the judge. :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2023-03-20 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?