http://www.perlmonks.org?node_id=854004


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; };