Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: The relation between a Package and a Module?

by amir_e_a (Hermit)
on Apr 09, 2010 at 12:19 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://833772]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found