hi all, my script: #!/usr/bin/perl use strict; print "first line\n";
system ("ls"); print "last line\n"; #################### how can I output "first line\n" and "last line\n" to the screen but save the result of system command "ls" to a file(eg "result")(not appear on the screen")? thanks Stantly __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus – Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]