--- Kubert <[EMAIL PROTECTED]> wrote: > I am writing a perl program in which I need to execute > a korn shell script and pass it multiple arguments. I > am assuming that I can use the "system" routine but I > am not sure what the syntax would be. Can you help?
Do you need information back? If yes, use backticks: my $drink = `cat fridge | grep 'beer'`; you can use qx() instead of backticks too. If you don't need the output, use system(): system "cat rabbit dog budgie"; die "System command failed:\n$!" if $!; Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
