Skip Menu |

This queue is for tickets about the Net-IMAP-Simple CPAN distribution.

Report information
The Basics
Id: 125286
Status: resolved
Priority: 0/
Queue: Net-IMAP-Simple

People
Owner: Nobody in particular
Requestors: shixilun [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::IMAP::Simple::get() and Net::IMAP::Simple::fetch() have identical functionality
Date: Tue, 8 May 2018 07:52:30 +0100
To: bug-Net-IMAP-Simple [...] rt.cpan.org
From: Theron Stanford <shixilun [...] gmail.com>
Net-IMAP-Simple-1.2209 This is the definition of get(): sub get { my ( $self, $number, $part ) = @_; my $arg = $part ? "BODY[$part]" : 'RFC822'; return $self->fetch( $number, $part ); } After assignment, $arg is never used, so get() turns out to merely be an alias for fetch().
That's kindof a goofy bug. Patched. -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.