Try using the CPAN shell to do your install.
>perl -MCPAN -e shell
will open it up for you.
Something like:
cpan> info /Spreadsheet::WriteExcel/
will get you information on the package(s) available.
cpan> install Module.pm
will install it.
When you first run CPAN it will configure your your environment. One quesion it will ask is whether it should ask about dependencies or whether it should simply follow them. As the foreman said when pointing to the line of shovels, "Take your pick."
It will really make your life much simpler if you get into the habit of using the CPAN module. See section 12.17 Perl Cookbook for examples of how to run it or look at the documentation.
Finally, if you're using a different library depository than the standard perl site specific one, make sure to put your directory at the front of the $PERL5LIB environment variable, perhaps in your start up shell. Make sure the variable is set before running the makes or you'll error out. Try looking into Perl Cookbook, section 12.7 for possible suggestions.
MadraghRua
yet another biologist hacking perl....
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.