in reply to Re: need help to passing argument to executable and get return the result
in thread need help to passing argument to executable and get return the result

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^2: need help to passing argument to executable and get return the result

Replies are listed 'Best First'.
Re^3: need help to passing argument to executable and get return the result
by ashwani (Initiate) on Aug 25, 2006 at 08:21 UTC
    ted pride i used ur code it is working properly.Thanks
    but i got error when i pass both parameter but one is blank so this code could not handle that condition and i trapped in this.
    $output='xyz.pl $param1 $param2'; where $param1=''; $param2=0;
    i'm not getting how can i handle it.
    my ($x,$y)=@argv;