| Ate :: hash :: ordenado Lazo :: hash :: Sorted Perl Module presenta hashes en orden ordenado. |
Descargar ahora |
Ate :: hash :: ordenado Clasificación y resumen
- Licencia:
- Perl Artistic License
- Nombre del editor:
- Joshua Gatcomb
- Sitio web del editor:
- http://search.cpan.org/~jgatcomb/Tie-Hash-Sorted-0.10/Sorted.pm
Ate :: hash :: ordenado Etiquetas
Ate :: hash :: ordenado Descripción
ETIQUE :: HASH :: MÓDULO PERLORADO PERLADO PRESENTA HASHES EN EL PEDIDO CORRIDO. ETIQUE :: HASH :: MÓDULO DE PERLORE CORRIDO PRESENTA HASHES EN PEDIDO CORREGIDO.SYNOPSIS Uso Lazo :: Hash :: Ordenado; MI% AGES = ('John' => 33, 'Jacob' => 29, 'Jingle' => 15, 'Heimer' => 48, 'Smitz' => 12,); My $ sort_by_numeric_value = sub {My $ hash = Shift; ; }; Ate My% Sorted_ages, 'Tie :: hash :: Ordened', 'hash' =>% edades, 'sort_routine' => $ sort_by_numeric_value; Para mi nombre $ (teclas% sorted_ages) {imprimir "$ nombre es $ sorted_ages {$ nombre} años de edad. } ### Salida ### Heimer es de 48 orejas viejas. John tiene 33 oídos viejos. Jacob tiene 29 orejas viejas. Jingle tiene 15 orejas viejas. Smitz tiene 12 orejas viejas. Requisitos: · Perl
Ate :: hash :: ordenado Software relacionado