Hello,

I wish to "use" some library that is not located on the PATH so
I try this kind of code inside my base.epl :

sub BEGIN {
        my $script = $ENV{SCRIPT_FILENAME};
        $script =~ s/^(.*)\/.*?$/$1/;
        push @INC,$script;
        push @INC,"$script/..";
}

But it does not seem to work. How should I do this (what is
the right way of doing this with embperl) ?

Maybe some hardcoded use lib "xxx" inside startup.pl ?

Thanks for your help !

--
Jean-Christophe Boggio                       -o)
embp...@thefreecat.org                       /\\
Independant Consultant and Developer        _\_V

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h...@perl.apache.org

Reply via email to