[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Confused about variable scope.



On Aug 1, 2006, at 4:38 PM, suppressed wrote:
        for (`env`) {
	 next unless /^X_/;
	 /(.*)=(.*)/;
	 $ENV{$1} = $2;
	 push @PassEnv, $1;
	 #print "$_\n";
	}

and I then do

        my $somevariable = $ENV{'X_KEY'};

my question is what exactly are you trying to do? this sounds like a really assbackwards way to do what you really want done.


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.