It looks like it's using STDERR for output. Try this: perl -c someScript >somefile 2>&1
-----Original Message----- From: tom arnall [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 12:04 PM To: beginners@perl.org Subject: perl -c someScript >someFile i want to capture to a file the output of perl's '-c' command-line option, as in: perl -c someScript >someFile perl insists on simply dumping the output to the screen. is there a solution to this? thanks, tom arnall north spit, ca -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>