detect Perl6 and let indexing for Perl6 be a noop