tag 235189 confirmed
found 235189 5.420-2
thanks

On Fri, Feb 27, 2004 at 02:09:50PM -0600, Mike Mestnik) (the Archmage forever 
wrote:
> Package: libmime-perl
> Version: 5.411-3
> Severity: wishlist
> 
> I'm working on the fetchyahoo program and I have determined that...
> print "From: " . $mimeHead->get('From') . "\n";
> 
> Will have an extra '\n'.


There is indeed a documentation bug here. From the MIME::Head SYNOPSIS:

           ### Get receipt information:
           print "Last received from: ", $head->get('Received', 0), "\n";
           @all_received = $head->get('Received');

           ### Print the subject, or the empty string if none:
           print "Subject: ", $head->get('Subject',0), "\n";

Both of the print statements will output double newlines, which
is quite unexpected.

This should be reported upstream with a patch.

Cheers,
--
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to