Subject: | Member state issue - wrong docs |
Date: | Thu, 8 Jan 2015 08:40:14 +0000 |
To: | bug-Business-Tax-VAT-Validation [...] rt.cpan.org |
From: | Andy Newby <andy.newby [...] gmail.com> |
Hi,
Looks like your documentation is wrong for the example:
if ($hvatn->check($VAT, [$member_state])){
Should be:
if ($hvatn->check($VAT, $member_state)){
i.e no [ ]
I was wondering why it was telling me that I wasn't passing in a valid MS
... but after debugging, it turned out it just wanted a string :)
Cheers
Andy Newby
*Email:* andy@ultranerds.co.uk
*WWW: *http://www.ultranerds.co.uk
*Mobile: * 07769 201 576