in reply to Re: Re: Re: Scalars tied to logfiles
in thread Scalars tied to logfiles

Good observation... you made me think it through for a minute.

I think that because I'm using an object-oriented approach to the file handling (IO::File), when the scalar is either UNTIEd or DESTROYed the IO::File object will have its ref-count dropped down to zero, and the file will be closed automatically.


Dave

  • Comment on Re: Re: Re: Re: Scalars tied to logfiles