Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: How do I know if a package is on my server?

by zakame (Pilgrim)
on Aug 26, 2017 at 16:06 UTC ( #1198067=note: print w/replies, xml ) Need Help??

in reply to How do I know if a package is on my server?

how do I know that the "unusual" package is available on that server - or on *any* server if truth be told?

For standalone scripts and apps, the "modern" approach (taken from other systems like Ruby and Python) is to bundle such scripts with a cpanfile that describes the dependencies that your scripts will need. This way, you do not have to query whether such a dependency is on your destination server or not; you declare such a dependency instead, so that tools like cpanm can install those for you.

In addtion, should you need to depend on exact versions of a particular module, tools like Carton will read the cpanfile to get that particular version installed for your usage.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2019-06-18 11:19 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (81 votes). Check out past polls.

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