Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Call shell script variables in perl

by k_manimuthu (Monk)
on Mar 21, 2011 at 09:46 UTC ( #894450=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # File Name : parent.pl
    ...
    
    # Any possible way to use the shell script variable here
    print "\n$MY_LIB_PATH"; 
    
  2. or download this
    #!/bin/sh
    # File Name : path_reset.sh
    ...
    MY_LIB_PATH=$ORACLE_HOME/$MY_HOME/$VAR1
    export $MY_LIB_PATH; 
    echo $MY_LIB_PATH
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2016-06-28 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (360 votes). Check out past polls.