in reply to Re: How to open() something in a hash?
in thread How to open() something in a hash?
aremy $fh = $self->{fh}; print $fh "Hello world\n";
andprint { $self->{fh} } "Hello world\n";
use IO::Handle qw( ); $self->{fh}->print("Hello world\n");
|
|---|