http://qs321.pair.com?node_id=33658


in reply to RE (tilly) 1: Get default login environment
in thread Get default login environment

And that two-level map is probably crazier than you need:
return $env =~ /^(.*?)=(.*)/gm;
Create fewer intermediate SVs and regex calls that way.

-- Randal L. Schwartz, Perl hacker