Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

path set in @INC not visible if process is spwaned from linux to solaris

by vaibhav07 (Acolyte)
on Jun 04, 2013 at 09:44 UTC ( #1036933=perlquestion: print w/ replies, xml ) Need Help??
vaibhav07 has asked for the wisdom of the Perl Monks concerning the following question:

Hello perl monks, I am facing a scenario in which I have to make sure that I read the binaries from a specific lib path in solaris. So my used case is spawning a process from Linux client on to Solaris. So the I am trying to set a path during complie time as the path is not getting visible dynamically when process is directly triggered on solaris box. So setting the path during compile time works fine when process is directly triggered from solaris. But in case of Linux->Solaris the path set suring compile time is not reflected on solaris

 sub get_lib { use Config(); return '/u/temp/perl_temp/lib/perl5'; } BEGIN { $tmp_lib = get_lib(); push (@INC, $tmp_lib);}

Looking for some advise or help to solve this scenario. Thanks in advance

Comment on path set in @INC not visible if process is spwaned from linux to solaris
Download Code
Replies are listed 'Best First'.
Re: path set in @INC not visible if process is spwaned from linux to solaris
by Anonymous Monk on Jun 04, 2013 at 09:49 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1036933]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-05-01 01:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.