Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / August 2004



Tip: Looking for answers? Try searching our database.

List::Util

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Julianno Sambatti - 06 Aug 2004 12:10 GMT
Sorry for the possible super basic question.

How do I incorporate the List::Util module into the perl library with OSX? I mean I have no
idea what to download and where to save the file I downloaded.

Thanks

Julianno
Chris Devers - 06 Aug 2004 14:03 GMT
> How do I incorporate the List::Util module into the perl library with
> OSX? I mean I have no idea what to download and where to save the file
> I downloaded.

It should already be installed, I think.

Try this command:

    perl -MList::Util -e '1'

If it produces no output, you already have it.

If you get an error about it not being available, run these commands:

    bash
    export FTP_PASSSIVE=1
    sudo perl -MCPAN 'install List::Util'

You will probably be asked a series of questions from that last one; in
most cases the defaults are fine. Once the questions are done, it should
find, download, and install the module for you.

The Perl beginners list is the right place for these sorts of questions:
<beginners@perl.org> or <http://learn.perl.org/>

Signature

Chris Devers

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.