Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: scripts on CPAN

by ferreira (Chaplain)
on Mar 23, 2007 at 11:37 UTC ( #606211=note: print w/replies, xml ) Need Help??


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

cpan> install App::Ack
where App::Ack is a companion module that lives in the same distribution. Otherwise, you may take a look at the author directory with
cpan> ls PETDANCE or cpan> ls PETDANCE/*ack*
and hope to see something in the sea of released distributions.
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).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://606211]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2019-03-19 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (92 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!