Skip Menu |

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

Report information
The Basics
Id: 43047
Status: resolved
Priority: 0/
Queue: Net-IMAP-Client

People
Owner: Nobody in particular
Requestors: RADEK [...] cpan.org
Cc:
AdminCc:

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



Subject: "Modification of non-creatable array value attempted" in certain conditions
If you call: my $imap = Net::IMAP::Client->new(...); $imap->select('INBOX'); $imap->search('ALL'); (without $imap->login), then this error appears: Modification of non-creatable array value attempted, subscript -1 at /home/users/radek/rpm/new/Net-IMAP-Client-0.9/blib/lib/Net/IMAP/Client.pm line 728. The code tries to use this construct: $ perl -wle 'my $x = []; push @{ $x->[-1] }, 42' Modification of non-creatable array value attempted, subscript -1 at -e line 1. Marking as "unimportant", as this is not a proper way to call it anyway.
In 0.94, I have fixed the code for pushing components of the IMAP server reply into arrays, eliminating the possibility for this error.