Subject: | get_body_part and find_message don't process $self in argument list |
Date: | Tue, 5 Jun 2018 15:39:54 +0200 |
To: | bug-Mail-IMAPTalk [...] rt.cpan.org |
From: | Kiss Gabor <gabor.kiss [...] uhusystems.com> |
According to POD these are plain object methods:
# Parse further to find particular sub part
my $P12 = $IMAP->get_body_part($BS, '1.2');
# Parse further to find message components
my $MC = $IMAP->find_message($BS);
Meanwhile they don't expect the object reference in $ARGV[0]:
=cut
sub get_body_part {
my ($BS, $PartNum) = @_;
=cut
sub find_message {
my (%MsgComponents);
Affected versions: all (up to Mail-IMAPTalk-4.04)
Regards
Gabor