[Templates] Problem with IMPORT on 1.07

David Hodgkinson daveh@hodgkinson.org
18 Aug 2000 15:38:59 +0100


I think I've broken the back of getting stuff into shape for putting
into a template, and also using the CGI plugin effectively, thanks
again.

Now jsut a quicky, say I have a hash with airport codes as the key,
and airport name as the value:

[% q.popup_menu( { Name => 'airport' 
    Values => container.get_static("aircodes").keys.sort
    Labels => container.get_static("aircodes") 
    } ) %]
[% q.end_form %]

Can I easily sort by the value, rather than the key?

TIA,

Dave


-- 
Dave Hodgkinson,                             http://www.hodgkinson.org
Editor-in-chief, The Highway Star           http://www.deep-purple.com
      Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -----------------------------------------------------------------