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.