<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Couldn't find a clear answer via google, so am choosing to
pick your brains on this....</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>How does one get error information, for debugging, going
into a text file instead of to the terminal window?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The context is a Catalyst App started via a Plackup
command.</FONT></DIV>
<DIV><FONT size=2>Do I add something to that command line command (does 2>
work with plackup?),</FONT></DIV>
<DIV><FONT size=2>or do I add something to the script in my Catalyst
app?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Either way, I'd like STDERR to go to a specified text file,
instead of to the terminal window.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>It sounds stupidly simple, only a few google searches later,
the answer is still surprisingly unclear, =S.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Grateful for any help.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>If there's more than one way to do it, any advice on best
practice also appreciated.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Yours,</FONT></DIV>
<DIV><FONT size=2>Andrew.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>