Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: How to install Date::Calc on a Mac

by bronto (Priest)
on Nov 23, 2004 at 13:58 UTC ( [id://409894]=note: print w/replies, xml ) Need Help??


in reply to Re: How to install Date::Calc on a Mac
in thread How to install Date::Calc on a Mac

In many cases you can type perl -M<module> (e.g, perl -MDigest::MD5) and perl will either pause waiting for input (if you have the module installed) or it will issue an error message (if you don't have it installed).

I use to do perl -M<module> -e exit in those cases, so that it won't pause. Or, when I have to test for many modules and using a Bourne-like shell in UNIX (e.g.: bash):

for MODULE in First::Module Second::Module Third::Module ; do perl -M$MODULE -e exit ; done

Ciao!
--bronto


In theory, there is no difference between theory and practice. In practice, there is.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found