If Scream wants a routine that does this.. I can dig it up. It also uses Text::Wrapper w/an adjustable length.

The only downside is I didn't doing anything special to accommodate > 72 chars, so if for example you entered:

<a href="http://www.wwwthreads.org/perl/newreply.pl?Board=wishlist&Number=363&page=0&view=expanded&what=showpost&mode=threaded&sb=5">

you'll get:

><a
>href="http://www.wwwthreads.org/perl/newreply.pl?Board=wishlist&Number=363&page=0&view=expanded&what=showpost&mode=threaded&sb=5">


.. so the link is broken.

(hmm.. pr'y could've fixed that in the time it took to post this message <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />