Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: need help to passing argument to executable and get return the result

by ashwani (Initiate)
on Aug 19, 2006 at 07:58 UTC ( #568325=note: print w/ replies, xml ) Need Help??


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

Thanks TedPride it was really very helpful.
can you solve one more thing?
if there are four argument then how will process.pl handle it?
Thanks again


Comment on Re^2: need help to passing argument to executable and get return the result
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;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://568325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2014-09-22 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls