As a comment, you don't need the int (being in an index will automatically chop the fractional part), and you can replace the hardcoded lengths so that you can add new elements to the arrays. So the last line becomes:
print "$SUBJ[rand @SUBJ] $VERB[rand @VERB] $END[rand @END]\n";
--ZZamboni
In reply to RE: Random Bumper Sticker Generator
by ZZamboni
in thread Random Bumper Sticker Generator
by Buzzsaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |