in reply to Net::NNTP question

The array should contain the lines of the body of the post. Unless the newsgroup allows HTML posting, each line should be in plain text format.

You might use Text::Wrap to make sure no line is longer than 72-characters, to be a good Netizen. I suppose you could also use Mime-Tools (from the CPAN) to encode a binary, then post it.