in reply to Where to install my own perl modules?
and fill in the functionality and bundle it withh2xs -A -X -n MyModule
you'll get a Module in the form CPAN provides it. And you can easily install it into your own directory (and should do it for development, because with more complex modules it is not so easy to wipe this module out if you want to remove it, whereas you just delete an own directory; the important command is the PREFIX-Option at perl Makefile.PL) withperl Makefile.PL make make test make tardist
In your perl-scripts, just load it bytar xvfz modulename.tar.gz cd modulename perl Makefile.PL PREFIX=/path/to/own/modules make make test make install
but you could as well use any other solution described on this page (e.g. $ENV{PERL5LIB},...)use lib qw(/path/to/own/modules) use MyModule;
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
|
|---|