in reply to Re^2: Replace Array Elements with Hash Values
in thread Replace Array Elements with Hash Values
my @data= apply {chomp} <$fh>;.
Chris
Update: Or more simply, chomp(my @data = <$fh>);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Replace Array Elements with Hash Values
by shortyfw06 (Beadle) on Jun 13, 2012 at 18:36 UTC |