in reply to Loading Hash From FileHandle - Cannot Chomp Input Keys
use strict; my %person; map{chomp; $person{$_} = 1} <DATA>; print join(",", keys %person); __DATA__ Ruth Samuel Paul John Silas
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Loading Hash From FileHandle - Cannot Chomp Input Keys
by BUU (Prior) on Dec 22, 2004 at 05:05 UTC |