From: John B. <joh...@ne...> - 2001-03-23 11:20:40
|
> Yes, but it relies on the 'return code of zero is success' convention. The > code is equivalent to: > > # Sorry...I like brackets on function/method calls > if( $mesg->code() == 0 ) { > die $mesg->error(); > } Sigh. Of course. I got the test the wrong way round. Should be !=. > Yours pedantically, Or possibly just stupidly, jb |