There's more than one way to do things | |
PerlMonks |
Re: regexp word break helpby clintp (Curate) |
on May 01, 2002 at 15:01 UTC ( [id://163280]=note: print w/replies, xml ) | Need Help?? |
Steal from the Perl Power Tools project fold(1). You're probably not interested in the bytewise processing (handled as a special case in a loop to process embedded \b \r and \t) but instead want the if() block that begins if ($Byte_Only) {.
In Section
Seekers of Perl Wisdom
|
|