Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 romping around the Monastery: (11)
As of 2015-07-08 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (94 votes), past polls