Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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. :)


Comment on Re: Re: Barstool Trivia
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
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 avoiding work at the Monastery: (10)
As of 2014-08-22 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (148 votes), past polls