Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^8: Perl 6 is going to get a lot faster in 2013

by moritz (Cardinal)
on Feb 05, 2013 at 09:17 UTC ( #1017088=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1017088]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2016-10-01 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.