|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^2: Append the timestamp before and after the data in the logfileby Kanji (Parson) |
| on Dec 22, 2005 at 05:33 UTC ( #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
|
|
||||||||||||||||||||||