Perl API and error handling

Joachim Bauernberger joachim.bauernberger@friendscout24.de
Fri, 13 Feb 2004 18:39:35 +0100


Hi,

I was wondering how you guys trap errors in the perl API.
If for example $memd->set or $memd->add fails it says that undef is returne=
d,=20
but will I know the reason for the failure (maybe in $!).

perldoc Cache::Memcached does not mention this.

Thanks & regards,
~/joachim

=2D-=20
Phone: +49 (0) 89 490 267 726
=46ax: +49 (0) 89 490 267 701
Mobile: +49 (0) 179 674 3611
mailto: joachim.bauernberger@friendscout24.de =A0 =A0 =A0 =A0=20
Web: http://www.friendscout24.de