in reply to Re^7: Perl 6 is going to get a lot faster in 2013
in thread Perl 6 is going to get a lot faster in 2013

Pseudo-packages provides what you are looking for. For example:

{ my $x = 42; say MY::.keys; say MY::{ '$x' }; }

Produces

$x $_ call_sig $*DISPATCHER 42

call_sig and $*DISPATCHER are used internally, and better not touched :-)

I've tested in on rakudo/HEAD, but should work fine in 2012.12 too, nothing significant changed in that code path since December.

Replies are listed 'Best First'.
Re^9: Perl 6 is going to get a lot faster in 2013
by educated_foo (Vicar) on Feb 06, 2013 at 00:42 UTC
    Thanks -- that's what I was looking for.