in reply to Questions about creating CPAN modules
For the dependencies, I think your PREREQ_PM section is OK:
PREREQ_PM => { 'Test::More' => 0, 'File::Temp' => 0, 'Padre' => 0.43, },
Maybe the CPAN dependencies don't update as quickly.
As for requiring a "shell" environment, Module::Install has a function requires_external_bin, which allows you to specify external dependencies.
Personally, instead of relying on cat, which and sh, I would use Perl to implement these (well, except sh) to remove these dependencies instead of programming detections :).
About META.yml, I think make meta or something like that (re)creates that file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Questions about creating CPAN modules
by gsiems (Deacon) on Oct 13, 2009 at 11:23 UTC | |
by Corion (Patriarch) on Oct 13, 2009 at 11:25 UTC | |
by gsiems (Deacon) on Oct 14, 2009 at 02:12 UTC |