in reply to Re: How can I pass File_Handle to a subroutine?
in thread How can I pass File_Handle to a subroutine?

Oh, thanks, it works. BTW: what is the difference between $FH_01 and <FH_01>? I feel the data structure of <FH_01> is very confusing.
  • Comment on Re^2: How can I pass File_Handle to a subroutine?

Replies are listed 'Best First'.
Re^3: How can I pass File_Handle to a subroutine?
by Hue-Bond (Priest) on Jul 01, 2008 at 09:10 UTC

    $FH_01 is a scalar variable that holds a filehandle, you can use it to access (read, write, stat) the file. <FH_01> is actually a call to the readline function on the FH_01 filehandle (not the same as the $FH_01 variable!).

    --
    David Serrano