http://qs321.pair.com?node_id=1004935


in reply to Shell script with PERL

You can use the system function or backticks (`STRING`). Using backticks will capture the output, whereas output from a system call will go to STDOUT/STDERR.