from my experience, wintendo's print just about everything to STDOUT anyway.. its not a 'elegant way' but i found it rather effective the alternative is specifying your own debug subs and using those to print out things as you go Regards, Jos Boumans ----- Original Message ----- From: "Paul" <[EMAIL PROTECTED]> To: "Jos I Boumans" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Peter Lemus" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 8:02 PM Subject: Re: How can I get all error messages from this script, including system cmds. > > --- Jos I Boumans <[EMAIL PROTECTED]> wrote: > > well, you can always redirect it to a file like this; > > perl foo.pl > /null > > even on a wintendo... > > Doesn't get STDERR, just STDOUT. > Then again, I have real trouble in Win32 determining what's going to > STDERR anyway.... > > > > ===== > print "Just another Perl Hacker\n"; # edited for readability =o) > ============================================================= > Real friends are those whom, when you inconvenience them, are bothered less by it than you are. -- me. =o) > ============================================================= > "There are trivial truths and there are great Truths. > The opposite of a trival truth is obviously false. > The opposite of a great Truth is also true." -- Neils Bohr > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ >