Re: run cmd, writing output to log file

hput <[email protected]>
Newsgroups gmane.comp.lang.perl.beginners
Organization Still searching...
Message-ID <[email protected]>
Ken Slater <[email protected]> writes:


[...] snip


>> -------       -------       ---=---       -------       -------
>> At first glace, looks like $log was used instead of instead of $fh.
>>

Andy Bach <[email protected]> writes:

> What Ken said:
>
> while (<$ch>) {
>     print $fh "$PaddedDateStr $_";
>   }

Thx to both of you.  And indeed the filehandle works.

Having different troubles now with that fixed but I'm wallowing around
with it a while ... maybe get it right before bothering the list again.


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.