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
Perl does not provide a built-in to solve your problem.
If you know that the keys cover a particular range 0..N, you can leverage that fact:
0..N
my $n = keys(%hash) - 1; my @keys_and_values = map { $_ => $hash{$_} } 0 .. $n; my @just_values = @hash{0 .. $n};