Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 30900
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

People
Owner: Nobody in particular
Requestors: richter [...] ecos.de
Cc:
AdminCc:

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



Subject: 2.99_07 triggers problem in Perl 5.6.1 with use strict
Date: Wed, 21 Nov 2007 20:19:03 +0100
To: bug-Mail-IMAPClient [...] rt.cpan.org
From: Gerald Richter <richter [...] ecos.de>
Hi, Mail::IMAPClient 2.99_07 Line 525 and 594 in IMAPClient.pm triggers a problem in perl 5.6.1: #perl561 -e 'use strict ; my $peek=1 ; print "BODY${peek}[]", "\n"' Global symbol "@peek" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors. #perl587 -e 'use strict ; my $peek=1 ; print "BODY${peek}[]", "\n"' BODY1[] Adding a backslash solves the problem #perl561 -e 'use strict ; my $peek=1 ; print "BODY${peek}\[]", "\n"' BODY1[] #perl587 -e 'use strict ; my $peek=1 ; print "BODY${peek}\[]", "\n"' BODY1[] Gerald ** Virus checked by BB-5000 Mailfilter **
It's a wonder it works for newer Perls ;-) Thanks.