Hi guys,

Needing a little help with adjusting the data a log file reads to.

It goes like this currently....
@env_vars = keys(%ENV);

foreach $variable (@env_vars)
{
$log_entry .="$ENV{$variable}\|";
}


I am wanting to change this to include $http_referrer

So,I am presuming that I should be doing this:

foreach $variable (@env_vars)
{
$log_entry .="$ENV{'http_referrer"}\|$ENV{$variable}\|";
}

Is this correct??

thanks in advance

Cat

Reply via email to