cpan you have to see

Joseph Werner telcodev at gmail.com
Wed Dec 12 17:57:21 GMT 2012


On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper <spansh+london at gmail.com> wrote:

PBP and I disagree with you on this one, Gareth. When a sub does a
"return 0;" to a list context, that is interpreted as true.  A bare
"return;" is best practice.

> ...
> Likewise your False and false functions simple return.  Now this will
> be treat as false, however it would probably be better to "return 0;"
> such that anyone using your code doesn't get undefined values errors.
> ...
>
> Thanks
>
> Gareth



-- 
Best Regards,
[Joseph] Christian Werner Sr
C 360.920.7183
H 757.304.0502
Txt 757.304.0502


More information about the london.pm mailing list