note
moritz
<p>[aes://S02/Pseudo-packages] provides what you are looking for. For example:
<code>
{
my $x = 42;
say MY::.keys;
say MY::{ '$x' };
}
</code>
<p>Produces
<code>
$x $_ call_sig $*DISPATCHER
42
</code>
<p><c>call_sig</c> and <c>$*DISPATCHER</c> are used internally, and better not touched :-)
<p>I've tested in on rakudo/HEAD, but should work fine in 2012.12 too, nothing significant changed in that code path since December.</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-616540">
[http://perl6.org/|Perl 6 - the future is here, just unevenly distributed]
</div></div>
1016758
1017038