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.
99 Problems in Perl 6 (Score:2)
Don't forget that 99 Problems in Perl 6 [oreillynet.com] is still in the pugs repository. One neat solution which is a bit tricky in other languages is the "lotto" problem (Draw N different random numbers from the set 1..M). This was my try at a solution for the actual lotto function:
Many of the problems in the repository were solved sub-optimally due to the state of pugs, so there's plenty of room to play.
Reply to This