Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 browsing the Monastery: (11)
As of 2016-09-27 15:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (507 votes). Check out past polls.