http://qs321.pair.com?node_id=305242


in reply to Re: desire to pass file handles by value
in thread desire to pass file handles by value

The file operation in Perl is ultimately linked to the underlying unix file handles. When you read from a Perl file handle, Perl uses and updates the underlying unix file handle, thus giving the side effect.
Well not on windows, or other non-unix operating systems ....
  • Comment on Re: Re: desire to pass file handles by value