$ref_frame_lookup_by->{33}->{value}->(@minor_frame_data); # With the sub defined as: sub { $_[1] % 16 }