Help for this page

Select Code to Download


  1. or download this
    # Takes a hash ref, returns an array ref.
    sub key_sorted_values {
        my $hash_ref = shift; # Validate if needed.
        [ map { $hash_ref->{$_} } sort keys %{$hash_ref} ];
    }