From: Ivan Kohler Date: Sun, 20 Dec 2015 21:11:22 +0000 (-0800) Subject: fix doc for silly_bool X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment.git;a=commitdiff_plain;h=e8a94b0859040833693b3c9a7d71b0257fa7a39a fix doc for silly_bool --- diff --git a/OnlinePayment.pm b/OnlinePayment.pm index 0b598f1..2bd6c4d 100644 --- a/OnlinePayment.pm +++ b/OnlinePayment.pm @@ -788,8 +788,8 @@ Croaks if any of the required fields are not present. =head2 silly_bool( $value ) -Returns 0 if the value starts with y, Y, t or T. -Returns 1 if the value starts with n, N, f or F. +Returns 1 if the value starts with y, Y, t or T. +Returns 0 if the value starts with n, N, f or F. Otherwise returns the value itself. Use this for handling boolean content like tax_exempt.