Comment Re:This has taken too long (Score 2, Informative) 160
use v6;
# Perl 6 goes here
{
use P5;
# Hey, now I'm writing Perl 5 code!
}
# I'm writing Perl 6 again!
The amazing thing is that the object models will be able to interact, which means that CPAN modules will be trivially usable. That's a different kind of interop from what I showed above, and it's working (to a degree) now. Of course, the languages it works between are Cardinal (Ruby on Parrot), PIR (Parrot's native language), and Rakudo (Perl 6 on Parrot). The syntax is currently like this:
use opengl:from<PIR>;