Not Quite Perl Not Quite Perl - A lightweight Perl 6 #29

Accessing PIR opcodes directly from NQP (pir::)

my $ord := pir::ord('A')
# "Iss" == pass two strings, returning an int
my $offset := pir::index__Iss(':', $str);
my $elems := nqp::elements(@array);
Copyright © 2010
http://www.pmichaud.com/2010/pres/