in reply to Re: Do I need local $
in thread Do I need local $
If you were to use IO::File, you will find that the object that you get for the filehandle has a method available called autoflush(). This will set that property on the filehandle. Also, in your DESTROY method for your log class, you can simply undef the object reference, and let its own DESTROY method handle the closing of the file and the requisite clean-up.
--rjray
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Do I need local $
by gellyfish (Monsignor) on Feb 18, 2002 at 10:33 UTC | |
|
Re: Re: Re: Do I need local $
by Anonymous Monk on Feb 19, 2002 at 02:57 UTC |