in reply to How to use 'use' statement on Umbuntu

The standard place they(distros) put Perl is in /usr/bin/perl. When you are logged into Ubuntu, run this command
find `perl -e 'print "@INC"'` -name "*.pm"
All you need to do to use use is USE itelf.
# for example use CGI;
You can specify any location you want, by putting this in your ubuntu .bashrc file
export PERL5LIB=$PERL5LIB:/home/myusername/perl5

Many of the local homedir installers, will put it in /home/usr/perl5, so making a directory /home/yourusername/perl5 would be a good choice, and add it in your .bashrc file.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Replies are listed 'Best First'.
Re^2: How to use 'use' statement on Umbuntu
by Anonymous Monk on Oct 25, 2010 at 00:04 UTC
    thank you