in reply to Keys/Values being lost with this code--any help?
This would creat a hash of the form:my %hash_list = map { split ' ' } split(/,/, $names);
%hash_list = ( John => 20, Bill => 34, Jane => 28, Wall => 18, Tom => 19 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Keys/Values being lost with this code--any help?
by ByteOrNybble (Novice) on Sep 24, 2002 at 15:28 UTC | |
by lestrrat (Deacon) on Sep 24, 2002 at 20:59 UTC |