Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Install (register) a custom module

by moritz (Cardinal)
on May 07, 2012 at 08:04 UTC ( [id://969210]=note: print w/replies, xml ) Need Help??


in reply to Install (register) a custom module

You just have to install your module. There is a list of paths that perl search when it tries to load a module, and it must be one of them.

You can write a Build.PL file (using Module::Build) or a Makefile.PL (using Module::Install), and then call cpan . inside your module's root directory to have CPAN.pm install it for you.

Here's an example Build.PL.

Log In?
Username:
Password:

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

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

    No recent polls found