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}};}
In reply to Re: Won Doc
by toolic
in thread Won Doc
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |