in reply to to $Env{'HTTP_HOST'} or to $Env{'SERVER_NAME'}, that is the question.

JK_Bean, just a heads up...you should be using $ENV{'HTTP_HOST'}, i.e. %Env should be %ENV.

  • Comment on Re: to $Env{'HTTP_HOST'} or to $Env{'SERVER_NAME'}, that is the question.

Replies are listed 'Best First'.
Re: Re: to $Env{'HTTP_HOST'} or to $Env{'SERVER_NAME'}, that is the question.
by JK_Bean (Novice) on Jun 28, 2001 at 21:09 UTC
    yes, you are right. that was a typo. my code does in fact use $ENV, all caps.