![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
RE (tilly) 3: Get default login environmentby tilly (Archbishop) |
on Sep 22, 2000 at 21:37 UTC ( #33661=note: print w/replies, xml ) | Need Help?? |
Actually...try this on for size:
Doesn't that take care of everything about how the env function encodes the environment? I tried putting = and returns into the name of environment variables and it wouldn't go...
EDIT UPDATE (Much later), Corion caught a silly missing | in the line that gets the environment. :-( UPDATE 2 (Years later), as the discussion below points out, there was a silly syntax error. Fixed. Believe it or not, I used a version of this snippet for years, but that copy had been typed separately...
In Section
Snippets Section
|
|