in reply to regexp word break help
use Text::Wrap qw(wrap $columns);
$columns = 45;
my @lines = wrap('', '', 'Make sure this string is 45 chars or less, a
+nd if you have to truncate it to make it shorter, only break it betwe
+en a word (\s)');
Once (shame on you!)
Twice (shame on me!)
More often than I'd like to be
All the time
Just when answering stupid polls
Who you callin' a fool?
I refuse to vote in this ridiculous poll
Results (543 votes). Check out past polls.