Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: installing modules

by Corion (Pope)
on Aug 10, 2010 at 11:09 UTC ( #854004=note: print w/replies, xml ) Need Help??


in reply to installing modules

There is App::FatPacker to collect all prerequisites and paste them into your main script. Also, PAR::Packer collects the prerequisites somehow.

I guess the most common approach is to run your program and at the program exit, dump %INC, which contains all loaded modules:

use Data::Dumper; END { print Dumper \%INC; };

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://854004]
help
Chatterbox?
and snow settles gently...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2017-09-22 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (269 votes). Check out past polls.

    Notices?