Problems? Is your data what you think it is? | |
PerlMonks |
Re: Seek one liner for distributing an integerby TilRMan (Friar) |
on Sep 23, 2004 at 04:04 UTC ( [id://393120]=note: print w/replies, xml ) | Need Help?? |
A little late to the game, but here goes:
One statement, strict and warnings clean, and if you take out the whitespace, it'll fit on one line. Doesn't work on negative $num though.
In Section
Seekers of Perl Wisdom
|
|