Skip Menu |

This queue is for tickets about the Encode-IMAPUTF7 CPAN distribution.

Report information
The Basics
Id: 71216
Status: new
Priority: 0/
Queue: Encode-IMAPUTF7

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

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



Subject: missing 'use Encode::IMAPUTF7;' in SYNOPSYS [patch]
Hi, We just got the following bug report for the Debian package of Encode-IMAPUTF7: http://bugs.debian.org/642819 Show quoted text
> $ perl -e "use Encode qw/encode decode/; print decode('IMAP-UTF-7',
'R&AOk-pertoire');" Show quoted text
> Unknown encoding 'IMAP-UTF-7' at -e line 1
Adding 'use Encode::IMAPUTF7;' is all that is needed to make the script work, so I think SYNOPSIS should me modified to also include that. Patch attached. Thanks, dam
Subject: synopsis-use.patch
Description: add 'use Encode::IMAPUTF7;' to SYNOPSIS Bug-Debian: http://bugs.debian.org/642819 Author: Damyan Ivanov <dmn@debian.org> --- a/lib/Encode/IMAPUTF7.pm +++ b/lib/Encode/IMAPUTF7.pm @@ -86,6 +86,7 @@ Encode::IMAPUTF7 - modification of UTF-7 =head1 SYNOPSIS use Encode qw/encode decode/; + use Encode::IMAPUTF7; print encode('IMAP-UTF-7', 'Répertoire'); print decode('IMAP-UTF-7', R&AOk-pertoire');