Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: scripts on CPAN

by ferreira (Chaplain)
on Mar 23, 2007 at 11:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://606211]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-25 14:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found