use strict; my %person; map{chomp; $person{$_} = 1} <DATA>; print join(",", keys %person); __DATA__ Ruth Samuel Paul John Silas
In reply to Re: Loading Hash From FileHandle - Cannot Chomp Input Keys
by johnnywang
in thread Loading Hash From FileHandle - Cannot Chomp Input Keys
by roho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |