in reply to Text::Wrap not working

Doesn't wrap() take an argument, the string you want to print?

As Occam said: Entia non sunt multiplicanda praeter necessitatem.