On Thu, Nov 20, 2008 at 21:43,  <[EMAIL PROTECTED]> wrote:
> I need help with an issue with executing a perl program from java. I
> have a perl script that does a FTP. The perl program works well when I
> run it from command line or on a cron job.
>
> The same command I am also running from a Java program, it used to run
> fine on Solaris 8 and Perl 5.8.0. When we moved to Solaris 10 now,
> perl version being the same but this java to perl call results in a
> core dump. We did an initial core read, it points to an error like
> "Can't find LocalCfg.pm in the path @INC".
>
> Is this a right error message or does it point to some perl module not
> being installed correctly in the new environment. I do not even see
> any LocalCfg as a perl module in our install tree.
snip

Hmm.  How are you executing the Perl script from Java?  Also, what are
the values of the environment variables $PERL5LIB and $PERLLIB.  We
would also benefit from seeing the script itself (after you sanitize
it, of course).  Baring that, what modules and pragmas are being used
by the script?

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to