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