<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
The issue that sparked this is we're attempting to avoid setting the
variables statically anywhere in perl or apache. Since the profile
changes each time an upgrade occurs, we're looking to avoid
redevelopment efforts in the future.<br>
<br>
Daniel Browning wrote:
<blockquote cite="mid:201004160939.08965.db@kavod.com" type="cite">
  <pre wrap="">On Friday 16 April 2010 9:31:33 am Daniel Herrington wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I've been looking into ways to source a shell profile from within a perl
script to get the shell variables into the perl environment. 
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The way I normally get shell variables into the perl environment of CGI 
scripts is with the Apache PassEnv parameter, e.g.:

# In httpd.conf or other apache config file:
PassEnv HOME

--
DB
_______________________________________________
Pdx-pm-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pdx-pm-list@pm.org">Pdx-pm-list@pm.org</a>
<a class="moz-txt-link-freetext" href="http://mail.pm.org/mailman/listinfo/pdx-pm-list">http://mail.pm.org/mailman/listinfo/pdx-pm-list</a>
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Daniel B. Herrington<br>
Director of Field Services<br>
Robert Mark Technologies<br>
<a class="moz-txt-link-abbreviated" href="mailto:dherrington@robertmarktechnologies.com">dherrington@robertmarktechnologies.com</a><br>
o: 651-769-2574<br>
m: 503-358-8575<br>
</div>
</body>
</html>