in reply to
script for adding timestamp to stdin
You opened the file for append (with
'>>'
) and then use it as input (
while (<$fh>) {
), which gives you and immediate EOF....
----
I Go Back to Sleep, Now.
OGB
Comment on
Re: script for adding timestamp to stdin
Select
or
Download
Code
In Section
Seekers of Perl Wisdom