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

Re: Upper Case Site ID


  • From: Gunnar Hjalmarsson  
  • Date: Sun, 21 Sep 2003 14:44:34 +0200

Fred Atkinson wrote (to me privately):
I want to use the function 'uc' so that if someone enters 'w5www'
as the site ID, that it will be saved to the ring as 'W5WWW'
instead.

In site.pm, at the top of the function "sub create", you find the line:

    $rlmain::data{'updated'} = rlmain::timestamp();

Add the following right below that line:

    $rlmain::data{'siteid'} = uc $rlmain::data{'siteid'};

/ Gunnar


References to:
Fred Atkinson
Gunnar Hjalmarsson

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