in reply to Re: I need help
in thread I need help
This is well done, but consider instead:
$a[int(rand(6) + 1)]++ for 0 .. 5999;
to avoid using map in a void context, as map may be considered a kind of functor.
In Section
Seekers of Perl Wisdom
in reply to Re: I need help
in thread I need help
This is well done, but consider instead:
$a[int(rand(6) + 1)]++ for 0 .. 5999;
to avoid using map in a void context, as map may be considered a kind of functor.