No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Are you asking about modifying someone else's script to do this or is this just functionality that you want to add to your own scripts, or what? I'm asking because errors and warnings should probably be printed on stderr, not stdout. So, if this is for your own script then stop writing errors to an inconvenient place and you'll be half-way there. The other half would be to have an error handler that sent the messages to wherever you wanted. Choices would probably include stderr, a logfile, or both. I think there are some modules around that would help with exactly that... I'm reluctant to answer your question with code because I believe the question that needs to be answered here isn't quite the one you are asking. Can you explain your problem further? Wow. This was my 1500th post. -sauoq "My two cents aren't worth a dime."; In reply to Re: Creating a comprehensive log file
by sauoq
|
|