When copying files from machine, look into ExtUtils::Installed, ExtUtils::Packlist, and PPM.
When dealing with modules downloadable from cpan (ie, you do the make dance), and you have a blib directory, simply copy that entire blib directory, and do a use blib 'my/dir/where/blib/is' (tar -zxvf Dist-Name.tar.gz blib, and you've got yourself a ppm package, do a make ppd, and you got the ppd file describing it -- you'll need to edit it though)
Or if you're root, use perl -MExtUtils::Install -e install_default Dist/Name to install Dist/Name, assuming there is a blib dir built by ExtUtils::MakeMaker in the current dir.
Try this oneliner
perl -MExtUtils::Installed -le " print for grep { /Posix/i } ExtUtils: +:Installed->new->files(q[Perl]) "
|
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests. ** The Third rule of perl club is a statement of fact: pod is sexy. |
In reply to Re: Finding loadable objects (script refuses to fail)
by PodMaster
in thread Finding loadable objects (script refuses to fail)
by hawtin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |