$how[rand($rand_max) % (scalar @how)], $where[rand($rand_max) % (scalar @where)], $what[rand($rand_max) % (scalar @what)]);
Much simpler, and more traditional, to write these as:
$how[rand @how], $where[rand @where], $what[rand @what];
-- Randal L. Schwartz, Perl hacker
In reply to •Re: The Spudgun
by merlyn
in thread The Spudgun
by MrCromeDome
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |