Hi Joseph,

>Probably just as well.  Is there some context where you anticipate having
to repair broken keys after the fact?

In this case I'm building packages, and don't want to count on the user to
get the case of the text correct when passing the values.  So if I need to
set the 'smile' attribute in one call and reference it in another, I want
it to be 'SMILE', even if I or someone else passes it as 'Smile'.

example:

      if ($values{SMILE}){
            $sql .= " and  SMILE = '". $values{SMILE} ."'";
      }

If I need to select based on the smile field, I want to be able to call the
function doing this without worrying about case, or the order in which the
values are being passed.

      @eyes = get_eyes( smile => "BIG", Laughs => 5 );

same as:

      @eyes = get_eyes( laughs => 5, SMILE => "BIG" );


-Peter







-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to