in reply to Re: Re: Where does %ENV come from?
in thread Where does %ENV come from?
It'll be empty, or perhaps have a dl* entry of some sort in it. If there's anything else, well, you have static extensions built in.perl -MConfig -e 'print $Config{static_ext}'
You don't compile environment variables into perl, rather you compile in modules that, at initialization time, set keys in %ENV. If you built in Foo, say, the Foo boot code, which is executed when the module is initialized (which for statically built modules is when perl is started), can put things in %ENV.
|
|---|