This (completely useless) script shuffles text passed in from STDIN. Words are delimited by either whitespace or upper case characters.
Piping perl -v to this snippet is my favourite so far. I mean, where else can you find this sentence: License, point be This the Software the Artistic provided for Larry more found GNU the you Binary Perl, `man
use Text::ParseWords; use List::Util qw(shuffle); print map{" $_"} shuffle quotewords((time%2)?'\s+':'[A-Z]',0,<>);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Word Salad
by sweetblood (Prior) on Aug 08, 2003 at 17:14 UTC |