in reply to Re: scripts on CPAN
in thread scripts on CPAN
As xdg said, the issue that CPAN distributions are all about modules is pretty recurring. For instance, that's why the easiest way to install the ack distribution (which comes with the ack script) is to say
where App::Ack is a companion module that lives in the same distribution. Otherwise, you may take a look at the author directory withcpan> install App::Ack
and hope to see something in the sea of released distributions.cpan> ls PETDANCE or cpan> ls PETDANCE/*ack*
Another option is to turn your script into a module
That amounts to a good piece of advice as it can make your code more reusable both as the script (for external users) and as a module (for fellow Perl programmers).
|
|---|