> -----Original Message-----
> From: Mike Cantone [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 05, 2005 8:11 AM
> 
> Just a guess, but I think its likely the ENV hash is not 
> *tied* to the 
> actual Windows environment - that is, PERL loads ENV with the 
> environment when it starts, but any additions/changes you 
> make are not 
> "written back" the the OS environment - they just exist in 
> the ENV hash for the currently executing PERL process. 

They're supposed to be exported to the current process and any subprocesses.

Rob, how about moving the "$ENV{foo} = 'bar';" line to the top of the script, 
above the "use Inline..." line, and surrounding it with a "BEGIN { ... }"?

 -Ken

Reply via email to