Task:: modules that are uploaded to CPAN are not necesarily suitable to hand-installing in the way that you want.
On the other hand (and this is the entire point of Task::) you can use anything that the CPAN configuration module (in this case Module::Install) supports.
For your situation, try putting the following extra command just before WriteAll.
auto_install;
This will cause some extra magic to be bundled into the installer that will spawn off a CPANPLUS instance that DOES do the automation of mass module installs that you want.
Of course, this assumes you aren't uploading to CPAN. If you are uploading to CPAN, auto_install can still be a bit buggy (it's supposed to silently degrade when running inside an existing CPAN client, but breaks sometimes still) so it's strongly recommended not to use auto_install for modules that are uploaded to the CPAN.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.