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');