On Wed, Sep 18, 2002 at 12:12:34PM -0000, Cricker wrote:
> Thanks, but I thought that modules were for submitting to CPAN.  Don't I
> have to go through all the @ISA and Exporter:: stuff if I write a module?  I
> would like to get away with something simpler.

Modules are for splitting code into manageable and seperate chunks.  CPAN
accepts modules because that's the easiest ways for others to use the code,
if it's in a seperate chunk.  I'm not sure how, out of this, you got that
the only thing modules are good for is CPAN, but you can write modules to
your heart's content without them ever getting anywhere near CPAN.

@ISA is for inheritance, in an OO design; Exporter is to aid you in
exporting functions and variables from your module.  They're seperate
concepts, and neither is required for a functioning module.  As others have
suggested, see the relevant Perl documentation.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to