in reply to Re: how do I line-wrap while copying a file to stdout?
in thread how do I line-wrap while copying a file to stdout?

How about: print "$_\n" for /.{1,80}/g;