thekestrel has asked for the wisdom of the Perl Monks concerning the following question:
which gives...#!/usr/bin/perl use strict; my %hash; $hash{"cat"} = 2; $hash{"dog"} = 1; $hash{"cow"} = 17; my @arr = sort values %hash; print "arr : @arr\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sorting question
by holli (Abbot) on Mar 14, 2005 at 19:36 UTC | |
by RazorbladeBidet (Friar) on Mar 14, 2005 at 19:37 UTC | |
|
Re: sorting question
by Limbic~Region (Chancellor) on Mar 14, 2005 at 19:37 UTC |