develooper Front page | perl.perl5.porters | Postings from October 1999

Re: PERL_HEADER env varb: was: Addition to @INC

Thread Previous | Thread Next
Graham Barr
October 21, 1999 09:45
Re: PERL_HEADER env varb: was: Addition to @INC
Message ID:
On Wed, Oct 20, 1999 at 11:11:56PM -0500, Ed Peschko wrote:
> use strict;
> use DBI;
> use FindBin;           
> use lib $FindBin::Bin; 
> use IO;
> use Data::Dumper;
> use Rebol;
> use lib "put site specific libraries here"; 
> And sometimes, I wish that there was a method for *compiling* these commonly
> used modules into the interpreter itself, as part of Configure.

Well you can get close. Create a .pm file (say with no package statement
and place it in @INC. Then you use lines will simply be

use MyStuff;

For myself I am an optimist--it does not seem to be much use being
anything else. -- Winston Churchill

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About