kda has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Perl Library failure
by shmem (Chancellor) on Jun 20, 2007 at 16:34 UTC
    What debugging effort have you done so far? Without any code and only a symptom description I can only stab into the fog. Are subshells spawned whilst invoking your perl process? If so, the environment variables might be reset. Dumping your environment variables to STDOUT before and after sourcing your perl library might give a hint:
    warn "$_ => $ENV{$_}\n" for sort keys %ENV;

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re: Perl Library failure
by clinton (Priest) on Jun 20, 2007 at 16:31 UTC
    I would post some code so that we can see how LoadEnvironment works.

    Clint

Re: Perl Library failure
by cdarke (Prior) on Jun 20, 2007 at 16:33 UTC
    We need to see your subroutine, and how you are calling it. Also please give the versions of Perl on each machine (perl -v).
    What do you mean by "sourcing the libraries"? "Sourcing" is a shell term, and by "libraries" do you mean "modules" or maybe "packages"? How are you trying to load these?
    It's kinda a difficult to spot a bug when we can't see your code, Perl has so Many Ways Of Doing It.