[ic] Uninitialized values in Alias.pm and Encode.pm

Jon Jensen jon at endpoint.com
Fri Sep 26 15:20:04 UTC 2008

On Fri, 26 Sep 2008, IC wrote:

> I am not sure if this is related to CharSet.pm but it seems highly 
> likely, I get the following errors when running in debug mode:-
> Use of uninitialized value in exists at
> /usr/lib/perl5/5.8.8/i686-linux/Encode/Alias.pm line 25.

Those are warnings, not errors, just to be clear.

> In CharSet.pm it appears sub decode_urlencode is expecting 3 values but only
> gets 2, if I uncomment the logDebug statements then I see CharSet.PM does
> not get a value for $encoding, anyone know why?

Yes, I think it's because an "or" test should be an "and". Can you try the 
attached patch and let me know if it stops the warnings for you?


Jon Jensen
End Point Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CharSet-validate_encoding.patch
Type: text/x-diff
Size: 753 bytes
Url : http://www.icdevgroup.org/pipermail/interchange-users/attachments/20080926/3034a2a2/attachment.patch 

More information about the interchange-users mailing list