Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Perl Modules

by mr_leisure (Beadle)
on Jan 03, 2001 at 16:11 UTC ( #49488=perlquestion: print w/replies, xml ) Need Help??

mr_leisure has asked for the wisdom of the Perl Monks concerning the following question:

Howdy folks - I have been asked to create a Perl Module based on a program i recently wrote at work. I have looked around the site for hints, but alas to no avail. So - what i need to know is some good resources for writing your very first Perl Module, or possibly something on converting to a Perl Module? As always, any response is greatly appreciated. Cheers, ML p.s. I was going to ask this in chatterbox, but my site search showed there were no questions on this, so here it is...
if ($mr_leisure) { bow; }

Replies are listed 'Best First'.
Re: Perl Modules
by davorg (Chancellor) on Jan 03, 2001 at 16:18 UTC

    There's some good advice on this in the perlmod man page and I think there's a chapter on it in "Effective Perl Programming".


    "Perl makes the fun jobs fun
    and the boring jobs bearable" - me

Re: Perl Modules
by clemburg (Curate) on Jan 03, 2001 at 17:28 UTC

    Read Effective Perl Programming, pages 177 to 195, chapter "Writing Packages and Modules".

    Christian Lemburg
    Brainbench MVP for Perl

Re: Perl Modules
by OeufMayo (Curate) on Jan 03, 2001 at 16:22 UTC


    Update : Mmmh, allright, here's a link about Perl Module Mechanics - it explains everything from creating a new module with h2xs to documenting it with POD.

    PerlMonger::Paris(http => '');</kbd>
Re: Perl Modules
by knight (Friar) on Jan 03, 2001 at 17:25 UTC
Re: Perl Modules
by Malkavian (Friar) on Jan 03, 2001 at 19:26 UTC
    There's a section in CPAN on the subject of building modules.
    Perhaps you'd find that helpful..

Re: Perl Modules
by damian1301 (Curate) on Jan 04, 2001 at 04:22 UTC
    There is also a good section in Programming Perl 3rd Edition on it. It tells you all you need to know about installing, writing, and storing your modules (on CPAN)and I think Damian Conway has a book on it too. Other than that, a nice search around this site and on always provide more than enough information for me, so best of luck to ya!

    Wanna be perl hacker.
    Dave AKA damian

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://49488]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2021-09-16 12:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found