Skip Menu |
 

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 23876
Status: resolved
Priority: 0/
Queue: Encode

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

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

Attachments


Subject: Add documentation for LEAVE_SRC
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1165764318-27298-1"
Content-Length: 0
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 227
Download (untitled) / with headers
text/plain 227b
There is no documentation for the LEAVE_SRC flag to CHECK. This patch adds it. I was on IRC the other day when someone did not understand why his decode($enc, $string, 1) call assigned to $string. Regards, Shlomi Fish
Subject: Encode.pm-document-LEAVE_SRC.diff
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_1165764318-27298-0"
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Length: 0
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Type: text/x-diff; name="Encode.pm-document-LEAVE_SRC.diff"
Content-Disposition: inline; filename="Encode.pm-document-LEAVE_SRC.diff"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: ascii
Content-Length: 465
--- Encode.pm.orig 2006-12-10 16:59:21.368322807 +0200 +++ Encode.pm 2006-12-10 17:19:13.200241440 +0200 @@ -657,6 +657,12 @@ HTMLCREF 0x0200 XMLCREF 0x0400 +=item Encode::LEAVE_SRC + +If the C<Encode::LEAVE_SRC> bit is not set, but I<CHECK> is, then the second +argument to C<encode()> or C<decode()> may be assigned to by the functions. If +you're not interested in this, then bitwise-or the bitmask with it. + =back =head2 coderef for CHECK
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-16459-1175858641-573.23876-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 332
Download (untitled) / with headers
text/plain 332b
Thanks, applied. Dan the Encode Maintainer On Sun Dec 10 10:25:23 2006, SHLOMIF wrote: Show quoted text
> There is no documentation for the LEAVE_SRC flag to CHECK. This patch > adds it. I was on IRC the other day when someone did not understand > why his decode($enc, $string, 1) call assigned to $string. > > Regards, > > Shlomi Fish


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.