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

I'm building application to deploy on other machines, it's better not to rely on environment variables.
  • Comment on Re^2: How @INC can be managed from c code?

Replies are listed 'Best First'.
Re^3: How @INC can be managed from c code?
by LanX (Saint) on Apr 01, 2015 at 15:07 UTC
    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