Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: values from perl to sh script

by BaldPenguin (Friar)
on Jul 14, 2005 at 18:16 UTC ( [id://475000]=note: print w/replies, xml ) Need Help??


in reply to Re^2: values from perl to sh script
in thread values from perl to sh script

Capture them into a variable, something like
RESULT=`perl runme.pl`
Then your result will be in $RESULT

Updated: Those are backticks surrounding the perl script

Don
WHITEPAGES.COM | INC
Everything I've learned in life can be summed up in a small perl script!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-26 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found