From: Austin Schutz [mailto:tex@...
Sent: Friday, December 10, 2004 1:07 PM
To: Hays, Jonathan
Subject: Re: [Expectperl-discuss] log_file append
On Fri, Dec 10, 2004 at 12:33:43PM -0500, Hays, Jonathan wrote:
> The Perl expect.pm documentation tells me how to start and stop
> But this overwrites the log on every loop.=20
> How do I append to that same log? I've tried "a" and ">>", neither of
> which works.
> Any ideas?
It works fine here with log_file("filename","a"). From here it
like there is either a platform specific bug with IO::File, or perhaps
have something in your code which is questionable - maybe clearing the
ahead of time or after it is read maybe.
IO::File has been around quite some time iirc - I suspect you
a bug somewhere else in your code.
Yeah, you're right. I don't know what I was doing before but I tried "a"
and it's working fine.