http://qs321.pair.com?node_id=1145260


in reply to Re^4: Perl - Unique Numbers
in thread Perl - Unique Numbers

deelinux,

No, his code prints 10 numbers. Where do you see that he saves anything?

His loop handling is definitely non-Perl. He could just have done:
for ( 1..10 )
For such a trivial problem, if he had one previous response, I wouldn't have commented at all. When I posted, I was the 3rd comment, so I added the 'another way of doing' phrase.

Regards...Ed

"Well done is better than well said." - Benjamin Franklin