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

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

Thread Previous | Thread Next
From:
Chip Salzenberg
Date:
October 21, 1999 12:22
Subject:
Re: PERL_HEADER env varb: was: Addition to @INC
Message ID:
19991021113642.G509@perlsupport.com
According to Moore, Paul:
> Site.pm
> -------
> use strict;

That will have no effect on the main program.

> use DBI;
> use FindBin;           
> use lib $FindBin::Bin; 
> use IO;
> use Data::Dumper;
> use Rebol;

These will import their functions into %main::, which may or may
not be the Right Thing.

> use lib "put site specific libraries here"; 

This will work, though.
-- 
Chip Salzenberg             - a.k.a. -              <chip@valinux.com>
           "I am the Lemon Zester of Destruction!"  //MST3K

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About