http://qs321.pair.com?node_id=163269


in reply to why won't it wrap??

Have you considered Text::Wrap?