On 10-05-28 02:53 AM, newbie01 perl wrote:
If this the case, does that mean I should be using use lib instead
of 
$ENV{PERL5LIB}="/oracle/product/db/11.1/perl/lib/site_perl/5.8.3/x86_64-linux-thread-multi"?

Definitely yes. This statement is executed at run time. Modules are loaded at compile time. So, this directory is added to @INC until you run a Perl script from your Perl script.

Try:
use lib qw( /oracle/product/db/11.1/perl/lib/site_perl/5.8.3/x86_64-linux-thread-multi );

--
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

The secret to great software:  Fail early & often.

Eliminate software piracy:  use only FLOSS.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to