in reply to Best method to order a hash of arrays
my @user_types =(
'037 => member',
'165 => public',
'022 => staff',
'683 => babe',
'001 => old fart',
);
foreach my $option (@user_types)
{
my ($user, $type) = split /\s*=>\s*/, $option;
make_option($user, $type);
}
Regards,
|
|---|