in reply to Loading Hash From FileHandle - Cannot Chomp Input Keys
my %person = map { chomp; $_ => 1 } <DATA>;would work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Loading Hash From FileHandle - Cannot Chomp Input Keys
by roho (Bishop) on Dec 22, 2004 at 04:01 UTC |