Try this:
use IO::File; my %files; $files{"foo"} = IO::File->new(">xyz"); print { $files{"foo"} } "done\n"; $files{"foo"}->close;
In reply to Re: filehandle for close
by razzmataz
in thread filehandle for close
by zbest
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |