in reply to Perl 6 Module manager
It's much easier to put your script in a distribution and list its prerequisites in the usual way. When the user wants to install it, the prereqs get installed automatically.
In the Makefile.PL, you end up with something like:
# ... set some values WriteMakefile( 'NAME' => $script_name, 'VERSION' => $version, 'EXE_FILES' => [ $script_name ], 'PREREQ_PM' => { 'Test::More' => '0', #... et cetera }, 'MAN1PODS' => { $script_name => "\$(INST_MAN1DIR)/$script_name.1", }, );
|
|---|