Backup Copy

We will soon be updating the text. Save a copy of the old text first so long as it is not from the current author.

  sub BackupCopy {
    $old{copy} = $old{text} 
      if $old{host} && $old{host} ne $ENV{REMOTE_HOST};

We don't actually know who the authors are so we use their machine names (remote host) instead. We make the copy when we know both the old and new host names and they are not the same.

Some ?WebServers don't provide REMOTE_HOST, when there, use:

if $old{host} && $old{host} ne $ENV{REMOTE_ADDR};


Last edited January 17, 2002
Return to WelcomeVisitors