my $env = "1 2 3 4 5".' '; my %h = split //, $env;
Also, this assumes the poster meant: key =>' ' and not key => '' when the they said "blank".
In reply to Re^3: splitting directly to hash
by Cabrion
in thread splitting directly to hash
by narashima
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |