good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Append the timestamp before and after the data in the logfileby Kanji (Parson) |
on Dec 22, 2005 at 05:33 UTC ( [id://518480]=note: print w/replies, xml ) | Need Help?? |
To save some typing, you can group the commands together in a subshell and redirect the subshell's output instead. ( date; perl test.pl; date ) > test.log--k.
In Section
Seekers of Perl Wisdom
|
|