Help for this page
sub open_file { my ($mode, $file) = @_; ... open $fh, $mode, $file or croak("could not open '$file': $!"); return $fh; }