|Perl: the Markov chain saw|
writing to log fileby Sun751 (Beadle)
|on Jul 28, 2009 at 09:55 UTC||Need Help??|
Sun751 has asked for the
wisdom of the Perl Monks concerning the following question:
I have a question regarding log file,
I am working on a script which basically run system command to achieve some goal and in whole process I am suppose to run more than 25 command one by one in respective order at a time,
So rather than having noisy output on the screen
1. I am planning to redirect all the output system generated output to log file,
2. After every successful execution of command I am planning to write in the log file “respective command is success”
3. If the execution fail write to log file.
And I have done following while I am in testing phase,
As I am doing this for first time and I don’t have much experience, I am looking forward for suggestion!!!!