On Fri, Mar 20, 2009 at 4:10 PM, anbu mani <[email protected]> wrote:
>  I have a doubt. That how to view existing perl packages that are there in my 
> local machine in linux.

Run "perl -V" and see the contents of the @INC array.  This lists all include
paths where perl looks for additional modules.

Note that you can make perl look into additional folders by specifying the
-I flag or manipulating the @INC variable.


> If i need to install a new package example :
>
> Spreadsheet::WriteExcel
>
> What are the steps i should follow.

The installation procedure is different if you want to install the
package for yourself (eg on a shared hosting provider), or for
all users (eg on your own box).  There are some distro specific
ways of doing this too.

These CPAN instructions should get you started:
http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules

Running "perldoc perlmodinstall" should also get you the details.

- Raja
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to