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

IC ic at tvcables.co.uk
Fri Sep 26 15:27:46 UTC 2008



> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-users-
> bounces at icdevgroup.org] On Behalf Of Jon Jensen
> Sent: Friday, September 26, 2008 4:20 PM
> To: interchange-users at icdevgroup.org
> Subject: Re: [ic] Uninitialized values in Alias.pm and Encode.pm
> 
> 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.
> [snip]
> 
> 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?
> 
> Thanks,
> Jon

Hi Jon/Racke,

Yes initial tests on 5.5.2 seem to have stopped the warnings, thanks for the
quick response!

Andy.




More information about the interchange-users mailing list