- or download this
use Carp;
# time passes
...
open($fh, $file) or confess("Cannot open '$file': $!");
return $fh;
}
- or download this
my $handle = my_open("whatever");
- or download this
print $self->{handle} @stuff;
- or download this
print { $self->{handle} } @stuff;