NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Re: Idiomatic Perl 6 (Score:1)
Reply to This
Fugly! (Score:1)
Reply to This
Synthetic code (Score:1)
The essential complexity of this example is the same. Only it contains more words than operators.
Reply to This
'do' required? (Score:2)
FWIW, I think parentheses will work here also.
my @pascal := ([1], -> @p { [0, @p Z+ @p, 0] } ... *);Pm
Reply to This
Nifty! (Score:2)
I really like this. I liked it even more as I worked through all of the examples to better understand them. One thing I would change:
The output is much clearer that way (at least to me). I actually tried to get it a touch more "triangly":
But wound up with this:
Ah well :)
Reply to This