Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

How do I set env. Variables from Perl with shell script

by Noame (Beadle)
on May 04, 2009 at 11:49 UTC ( [id://761703]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
         HOME=”/opt/include” 
         INCLUDE="${HOME}/INC;${HOME}/INC/new”
    
  2. or download this
       #! /usr/local/bin/perl
    
       # Execute setParam.sh....
         chdir $ENV{HOME};
         print ("$ENV{INCLUDE}");
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-06-17 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.