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

Re^2: What is module? Difference between module and package?

by liz (Monsignor)
on Oct 28, 2005 at 11:54 UTC ( #503625=note: print w/ replies, xml ) Need Help??


in reply to Re: What is module? Difference between module and package?
in thread What is module? Difference between module and package?

Please note that package is scoped:

package Foo; print __PACKAGE__,$/; { package Bar; print __PACKAGE__,$/; } print __PACKAGE__,$/; __END__ Foo Bar Foo
with the default scope being the file, or course (although you rarely have to think about things like that, fortunately).


Comment on Re^2: What is module? Difference between module and package?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-07 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls