|
|
| Syntactic Confectionary Delight | |
| PerlMonks |
Re: Randomise a string of lettersby BrowserUk (Apostle) |
|
| on Jan 15, 2003 at 21:38 UTC ( #227240=note: print w/ replies, xml ) | Need Help?? |
|
in reply to Randomise a string of letters
This F-Y shuffles the string in-place avoiding the split and join. It might be a bit more efficient, but I haven't benchmarked it.
Examine what is said, not who speaks. The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
|
|
||||||