Re: run cmd, writing output to log file
[email protected] (hput)
| Newsgroups | 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.