Subject: | Doc, minor issue with nmsgs() in code example |
Date: | Wed, 19 May 2010 09:59:16 +0200 |
To: | bug-MIME-Explode [...] rt.cpan.org |
From: | Odd Skjaeveland <odd [...] patent.no> |
Thanks for the MIME::Explode
There is a minor issue with the example code in the documentation/man
page. The issue is so small that people may not have bothered reporting
it or the author may not want to spend any more time on it.
The order of the two code lines
print "Number of messages: ", $explode->nmsgs() , "\n";
...
my $headers = $explode=>parse(\*MAIL, \*OUTPUT);
should be reversed to demonstrate the nmsgs() because parse() is required
to establish the message count to be returned by nmsgs().
--
Odd Skjaeveland odd@patent.no