in reply to Re: Testing a library that accesses an Oracle Database
in thread Testing a library that accesses an Oracle Database
worked after I made the test an executable and set the shebang line to point to my local install of perl:BEGIN { if( ! $ENV{PDUPRE_RESTART}) { $ENV{LD_LIBRARY_PATH} = '...some Oracle path../lib'; #$ENV{DYLD_LIBRARY_PATH} = '...some Oracle path../lib'; #Either + LD OR DYLD works $ENV{PDUPRE_RESTART} = 1; exec $0, '--restarted', @ARGV }; };
I had it set to:!#/Users/.ME./perl
but it didn't show up because I am in the habit of running my perl scripts/tests using `perl t/some.t`; if I run using `/usr/bin/env perl t/some.t` than I again get the error from the OP.!#/usr/bin/env perl
|
|---|