good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
There's no need for parenthesis if you use m//g in list context (as I've done). However, I shouldn't have used a while, but a for.
Now, your solution only grabs words 2, 3 or 4 letters long. Which is a restriction that OP didn't have - he eliminates words that have 5 times the same letter (not five letters!)
Perl --((8:>*
In reply to Re^3: Creating Dictionaries
by Perl Mouse
|
|