I started having a play over a week ago but haven't had the time to do much - I'll blog this and see if I get any time to go further.
This entry is brought to you by use v6; - a delightful experience.
Perl v6.0.0 required--this is only v5.8.9, stopped at testserver.pl line 1.
I've been doing statically typedish language for too long. Theres me leaping into introspection, when, for now, for the serverside of things, a simple bit of dynamic programming will suffice. Lets quickly knock out a simple server.
Thats as simple as $rle.can( $m ) && $c.send_response($clzz."$m"()) - though my first attempt was $clzz.$m() - which resulted in "invoke() not implemented in class 'Perl6Str'"
Now to see what can be done on the client...
Nice post. Just so you know, $x.$meth(...) is fine if $meth is actually a code reference rather than a method name. If you have a name, then you always need the quotes and to interpolate it. If you'd somehow got hold of a method itself (for example through
Hope this helps!
Jonathan