in reply to passing a file handle to a subroutine
I think that's easier to understand than trying to pass a glob.open my $rm3d_fh, '>', $fullFileName or die "...$!"; rm3dHeader( $rm3d_fh ); sub rm3dHeader { my $fh = shift; print $fh "START..."; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: passing a file handle to a subroutine
by kevind0718 (Scribe) on Sep 04, 2007 at 19:15 UTC |