Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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 ( #569524=note: print w/replies, xml ) Need Help??


in reply to Re^2: 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

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://569524]
help
Chatterbox?
[choroba]: I'm in the lowest category, too
[choroba]: but in the country, that's in fact still a lot of money
[choroba]: "data dumber" is a nice typo, btw

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-04-27 08:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (501 votes). Check out past polls.