Radoslaw Zielinski <[EMAIL PROTECTED]> writes:

> What's the point of lines 151 and 167 in Encode.pm?  Respectively:
> 
>     # sub encode
>     $_[1] = $string if $check;
> 
>     # sub decode
>     $_[1] = $octets if $check;
> 
> I really can't see a point in overwriting the input value...  Why only
> "if $check"?

This problem is fixed in Encode-2.0901 by the patch found at
<http://rt.cpan.org/NoAuth/Bug.html?id=8736>.

Regards,
Gisle

Reply via email to