Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How @INC can be managed from c code?

by LanX (Saint)
on Apr 01, 2015 at 13:49 UTC ( [id://1122138]=note: print w/replies, xml ) Need Help??


in reply to How @INC can be managed from c code?

Not sure at all, but setting environment might help.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

  • Comment on Re: How @INC can be managed from c code?

Replies are listed 'Best First'.
Re^2: How @INC can be managed from c code?
by DrMoisha (Novice) on Apr 01, 2015 at 15:02 UTC
    I'm building application to deploy on other machines, it's better not to rely on environment variables.
      An application can only change it's own environment and passes it to it's child processes.

      But I can't tell if embedded Perl code still evaluates %ENV.

      May be only a question of initialization phase and timing, setting it as early as possible might help.

      Better just try it out and tell us.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)

      PS: Je suis Charlie!

      update

      have a look at PERLLIB

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-04-24 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found