in reply to retrieving from a hash numerically

You could simply use:
for my $key (sort {$a<=>$b} keys %hash){ print $hash{$key} }
But, if you have a hash with keys 0..114, why won't you just use an array?

Replies are listed 'Best First'.
Re^2: retrieving from a hash numerically
by Anonymous Monk on Jul 04, 2005 at 13:31 UTC
    thanks ;-)

    this is exactly what i was after !