Re: Encode doesn't like undef

2002-04-30 Thread Nick Ing-Simmons
Dan Kogai <[EMAIL PROTECTED]> writes: >On Tuesday, April 30, 2002, at 11:42 , Paul Marquess wrote: >> I agree that passing undef() to one of the encoding functions may be an >> edge >> condition too far, but passing a variable that contains undef is more >> common. >> >> $ perl5.7.3 -w -MEncode -

RE: Encode doesn't like undef

2002-04-30 Thread Nick Ing-Simmons
Paul Marquess <[EMAIL PROTECTED]> writes: > >I agree that passing undef() to one of the encoding functions may be an edge >condition toois more >common. nick@bactrian 1078$ perl -w -e "print undef" Use of uninitialized value in print at -e line 1. nick@bactrian 1079$ perl -w -e "print $a" Use

Re: Encode doesn't like undef

2002-04-30 Thread Nick Ing-Simmons
Paul Marquess <[EMAIL PROTECTED]> writes: >This is with Encode 1.64 > >$ perl5.7.3 -w -MEncode -e 'Encode::encode_utf8(undef)' >Use of uninitialized value in subroutine entry at >/tmp/bleed/lib/perl5/5.7.3/sun4-solaris/Encode.pm line 183. > >I don't know Encode well enough to check if there are an

RE: Encode doesn't like undef

2002-04-30 Thread Paul Marquess
From: Dan Kogai [mailto:[EMAIL PROTECTED]] > On Tuesday, April 30, 2002, at 11:42 , Paul Marquess wrote: > > I agree that passing undef() to one of the encoding functions may be an > > edge > > condition too far, but passing a variable that contains undef is more > > common. > > > > $ perl5.7.3 -

Re: Encode doesn't like undef

2002-04-30 Thread Dan Kogai
On Tuesday, April 30, 2002, at 11:42 , Paul Marquess wrote: > I agree that passing undef() to one of the encoding functions may be an > edge > condition too far, but passing a variable that contains undef is more > common. > > $ perl5.7.3 -w -MEncode -e 'Encode::encode_utf8($a)' > Name "main::a"

RE: Encode doesn't like undef

2002-04-30 Thread Paul Marquess
From: Dan Kogai [mailto:[EMAIL PROTECTED]] > On Tuesday, April 30, 2002, at 07:14 , Paul Marquess wrote: > > This is with Encode 1.64 > > > > $ perl5.7.3 -w -MEncode -e 'Encode::encode_utf8(undef)' > > Use of uninitialized value in subroutine entry at > > /tmp/bleed/lib/perl5/5.7.3/sun4-solaris/E

Re: Encode doesn't like undef

2002-04-30 Thread Dan Kogai
On Tuesday, April 30, 2002, at 07:14 , Paul Marquess wrote: > This is with Encode 1.64 > > $ perl5.7.3 -w -MEncode -e 'Encode::encode_utf8(undef)' > Use of uninitialized value in subroutine entry at > /tmp/bleed/lib/perl5/5.7.3/sun4-solaris/Encode.pm line 183. > > I don't know Encode well enough t