belfast golf

Jasper McCrea jasper at guideguide.com
Fri Mar 22 11:09:40 CST 2002


Keeping in practice a bit for the next Perl Review golf..

given command line number, print out it's factors like

2 x 2 x 3 x 4 x 5

You get the idea.
Also has to handle 0 and 1. I'm guessing printint 0 and 1 would be the
correct answers.

I would tell my current score, but I only just thought of it a little
while ago, and it would give you something to aim for.

Jasper
-- 
split//,"hrja8sp7 aknouthder£ p+er.l  haack er";$b=
sub{print$_[$i]if$i++%3};&$b..&$b&&&$b while$_[$i];print$/



More information about the Belfast-pm mailing list