projects
/
Business-OnlinePayment.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix doc for silly_bool
[Business-OnlinePayment.git]
/
OnlinePayment.pm
diff --git
a/OnlinePayment.pm
b/OnlinePayment.pm
index
0b598f1
..
2bd6c4d
100644
(file)
--- a/
OnlinePayment.pm
+++ b/
OnlinePayment.pm
@@
-788,8
+788,8
@@
Croaks if any of the required fields are not present.
=head2 silly_bool( $value )
=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.
Otherwise returns the value itself.
Use this for handling boolean content like tax_exempt.