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

Re^3: Call perl script and capture values in bash.

by prashantktyagi (Scribe)
on Sep 18, 2012 at 08:10 UTC ( #994232=note: print w/replies, xml ) Need Help??


in reply to Re^2: Call perl script and capture values in bash.
in thread Call perl script and capture values in bash.

Parse output like ...
print "counter=$counter files have been successfully saved.\n";
In bash capture value assign after "counter=" string..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994232]
help
Chatterbox?
[1nickt]: In my case I can simply pass sprintf '%.1f', 1.0 (to Types::Standard:: Int), but what if you didn;t know the precision of the number you were working with? Seems I must be missing something. Oh well, my test list is complete, mooving on ...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2017-05-24 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?