in reply to Won Doc
to:if ($x eq $y) {print $fh{$x} @{ $testhash{$y}};}
Notice the extra curlies around the filehandle; see print for an explanation.if ($x eq $y) {print {$fh{$x}} @{ $testhash{$y}};}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Won Doc
by Anonymous Monk on May 06, 2011 at 06:35 UTC |