in reply to using a filehandle stored in a hash
my %hash; open $hash{fh}, '>', 'foo' or die $!; print {$hash{fh}} "foo"; # ^ ^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using a filehandle stored in a hash
by DavidFerrington (Acolyte) on Mar 28, 2010 at 11:18 UTC |