Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 scrutinizing the Monastery: (18)
As of 2015-07-31 13:31 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 (277 votes), past polls