How to install Perl modules

Mine i.cue at dsl.pipex.com
Mon Sep 14 03:17:40 PDT 2009


Hi,

I am trying to run a Perl app called get_iplayer (http:// 
linuxcentre.net/getiplayer/) on OSX 10.4.11.
I have been told the the following modules are required:

Built-ins:

use Fcntl
use File::Copy
use File::Path
use File::stat
use Getopt::Long
use IO::File
use IO::Handle
use IO::Seekable
use IO::Socket
use POSIX
use POSIX
use Socket
use Time::Local

Ones that aren't in core AFAIK:

use CGI
use CGI::Cookie
use HTML::Entities
use HTTP::Cookies
use HTTP::Headers
use IPC::Open3
use LWP::ConnCache
use LWP::UserAgent
use URI
use URI::Escape

I think the first set are part of the standard Perl 5 install, but  
the second group are options
which can be added as required.

Can someone please tell me if it is possible to install these modules  
using MacPorts.
I have searched the available Ports and found p5-cgi, and have found  
a few html
files, but I am not sure which of these files contain the modules I  
need, or how to find
the others.

I have found the files on CPAN but I am not sure how to do a manual  
install into the
opt/ location required by MacPorts.

Thanks,

Terrence


More information about the macports-users mailing list