Cosimo Streppone |Perl 6| wrote:
Hi cool people,

the "Amazing Perl 6" thread was amazing.
It reminded me how Perl 6 looks interesting and fun.

how can I write "properly", for some meaning of properly,
the Perl 6 equivalent of this:


  if it's not clear, you can run the example

Anything in the existing implementation that's hostile to Perl 6? Just port it over by lightly editing the text or using a p5 module importer.

To write from scratch, I suppose it's just a recursive function that talks and drinks beer. You need external libraries for those, but the recursion is easy.


Reply via email to