in reply to How to print an entire nntp article
Documentation says...
print "$_\n" for $article->body();
But if it's returning an arrayref, just dereference it:
print "$_\n" for @{$article->body()};
If FH is not specified then the return value, on success, will be a reference to an array containing the article requested, each entry in the array will contain one line of the article.I've used this module before and it seems like it returned a real array from the body() method, so I'm guessing you can do:
print "$_\n" for $article->body();
But if it's returning an arrayref, just dereference it:
print "$_\n" for @{$article->body()};
In Section
Seekers of Perl Wisdom