If I have a hash in Perl that contains complete and sequential integer mappings (ie, all keys from from 0 to n are mapped to something, no keys outside of this), is there a mean
You can extract all the values from a hash with the values function:
my @vals = values %hash;
If you want them in a particular order, then you can put the keys in the desired order and then take a hash slice from that:
my @sorted_vals = @hash{sort { $a <=> $b } keys %hash};