in reply to Re: Replace Array Elements with Hash Values
in thread Replace Array Elements with Hash Values
First, toolic is right about the need for chomping, so
and of course check the open:my @data = map { chomp; $_ } <$fh>;
open my $write_fh, '<', 'temp.txt' or die $!;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Replace Array Elements with Hash Values
by Cristoforo (Curate) on Jun 13, 2012 at 18:19 UTC | |
by shortyfw06 (Beadle) on Jun 13, 2012 at 18:36 UTC | |
|
Re^3: Replace Array Elements with Hash Values
by shortyfw06 (Beadle) on Jun 13, 2012 at 18:13 UTC |