while (<>) { defined $fhs{$conn} or open($fhs{$conn}, '>', "conn-$conn") or die("Unable to create file conn-$conn: $!\n"); print { $fhs{$conn} } $_; }
In reply to Re: Storing open filehandles in a hash
by ikegami
in thread Storing open filehandles in a hash
by jpfarmer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |