Patches for Perl binding

Brad Fitzpatrick brad@danga.com
Thu, 1 Apr 2004 11:30:49 -0800 (PST)


Whoa, we run Perl 5.6 on LiveJournal and never noticed this!?

Avva... theorize.  :)

Dave, applying this patch.  Thanks!

- Brad


On Fri, 19 Mar 2004, Dave Evans wrote:

> Hello,
>
> Please find attached for your consideration two patches for the Perl
> binding (Cache::Memcached).
>
> "perl56compat.patch" provides Perl 5.6 compatibility, simply by using
> $!==EWOULDBLOCK (etc) instead of the Perl-5.8-specific construct
> $!{EWOULDBLOCK}.  I haven't tested it on Perls earlier than 5.6, but it
> made the difference for 5.6.1.
>
> "undef.patch" initialises two variables before calling select(), thus
> fixing the "use of uninitialised value" errors which previously often
> occurred (assuming warnings were enabled).
>
> Bye,
>
> --
> Dave
>
> PGP key: http://rudolf.org.uk/pgpkey
>