Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Perl Environment Settings

by artist (Parson)
on Mar 27, 2008 at 18:58 UTC ( #676830=perlquestion: print w/replies, xml ) Need Help??

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

I have to maintain an existing code, which uses wrapper to setup the environment. So my Perl program has a link to the wrapper on the shebang. #!/some/path/perl.mysql and perl.mysql is a softlink to a wrapper. Wrapper is just a C executable. ( I have access to the source). Now my question: How do I see, what type of Perl Path has been setup overall. The reason to ask: It complaints about a missing homegrown .so module. I do have an existing production version too, to get any clue from.

Thanks,

--Artist

Replies are listed 'Best First'.
Re: Perl Environment Settings
by starbolin (Hermit) on Mar 27, 2008 at 19:35 UTC

    Your perl library path is stored in @INC and all your environment variable are stored in %ENV.


    s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2022-10-05 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (24 votes). Check out past polls.

    Notices?