in reply to Substitution in Perl

So finally what wil be returned by @tmp?

You can easily find out with

use Data::Dumper; print Dumper \@tmp;
Perl 6 - links to (nearly) everything that is Perl 6.