[Edinburgh-pm] @INC and do EXPR use

asmith9983 at gmail.com asmith9983 at gmail.com
Mon Oct 15 13:51:08 PDT 2007

I think I need some background to explain some implementation aspects of Perl 
on my Ubuntu system.

I am using the " do EXPR" construct to load a file containing a few 
subroutines common to a few programs I've written. I've put the file to 
load in a directory ~/lib/ and use the -I command line flag(-I ~/lib/). I 
would have liked to put the file into one of the directories that is already 
in @INC, but only /usr/lib/perl/5.8.8 exists. I fear that in time with 
upgrades I will lose my file if I put in that directory.  Oh wise Perl 
mongers, what is your advice ?


More information about the Edinburgh-pm mailing list