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

Re: The relation between a Package and a Module?

by amir_e_a (Hermit)
on Apr 09, 2010 at 12:19 UTC ( #833772=note: print w/replies, xml ) Need Help??


in reply to The relation between a Package and a Module?

It's quite the same thing.

"Package" is the technical name for what is often called a "namespace" in other languages. It can be used as an object-oriented class, or just as a module, which is simply a bunch of definitions, usually of functions.

When talking about a module, especially a CPAN module, some kind of good order is often implied - a makefile, some documentation, a well-defined API, a test suite etc., although none of it is technically required.

  • Comment on Re: The relation between a Package and a Module?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2019-12-10 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?