Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2020-02-29 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (128 votes). Check out past polls.

    Notices?