![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: Re: Can you import ENV variables at run time?by nardo (Friar) |
on Jul 26, 2001 at 04:40 UTC ( #99864=note: print w/replies, xml ) | Need Help?? |
/bin/bash isn't necessarily everyone's shell and thus any environment variables they set up upon login won't necessarily be set by bash. This should run someone's shell as a login shell regardless of what shell it is, and $env will contain the output of env which should be easy to parse.
In Section
Seekers of Perl Wisdom
|
|