But that would return '' or 1and presumably the author
wanted zero instead of an empty string.
Cheers, Brent
-------------------------------------------------------------------------------------
The entrepreneur is essentially a visualizer and an
actualizer... He can visualize something and when he
visualizes it he sees exactly how to make it happen.
-- Robert L. Schwartz
Dave Cross <
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]<
> cc: [EMAIL PROTECTED]
Subject: Re: [Devel::Cover] return
conditions
17/09/2004 09:40
On Fri, Sep 17, 2004 at 09:33:39AM +0100, [EMAIL PROTECTED] wrote:
>
> it's basically a confusing if else
>
> if ($one == $two) { return 1 } else { return 0 }
Or
return $one == $two;
Dave...
--
We are far too young and clever
**********************************************************************************
This email may contain confidential material. If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.