On Sun, 24 Oct 2004, Stefan Hans wrote:

I want to install the Spreadsheet-WriteExcel-2.11 with the prerequisites Parse::RecDescent and File::Temp.

[...]

This is my first time working with perl.

Then save yourself a lot of time & aggrivation and learn to use the CPAN shell tool.


You invoke it by running this line:

    $ sudo perl -MCPAN -e shell

(Omit the sudo prefix if you're running as root, or better yet, quit running as root and use sudo as above with a normal user.)

The first time you use the CPAN shell, it will spend five minutes or so asking you questions about your environment. In most cases, the defaults are fine, and you can just hit enter to accept them. (The one snag that gets a lot of people deals with passive mode FTP for people behind proxies or firewalls, but we'll deal with that if it comes up.)

Once the CPAN shell is configured, you get a prompt like this:

    cpan>

From here, just run this command:

cpan> install Spreadsheet::WriteExcel

With this command, the CPAN shell will automatically download the module, find & retrieve any dependencies like Parse::RecDescent and File::Temp, and unpack, configure, make, test, and install for you.

This is *way* easier than the older way that you're trying to use :-)



--
Chris Devers

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to