Try backticks instead of the system() call. my @results = `stat $inputScratch`;
-----Original Message----- From: Ryan Moszynski [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 11:46 AM To: beginners@perl.org Subject: saving system output as $ is there a way to save the output of a system call as a variable to print later and suppress the initial printing of the output of the call to the terminal?? <snip> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>