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

Re: Passing values from Perl script to shell script

by gmargo (Hermit)
on Dec 09, 2009 at 15:59 UTC ( #811952=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
        print "other status $status\n";
    }
    
  2. or download this
    #!/bin/sh
    
    ...
    echo "Sum of $1 + $2 is $RC"
    exit $RC;
    
  3. or download this
    Sum of 3 + 5 is 8
    exited with return code 8
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-07-26 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (179 votes), past polls