::Simple;
use JSON;
require Exporter;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(ibanValidate new);
our $VERSION = '0.05';
my $format; #response return format i.e. xml json csv
my $iban;
}
}
sub validateFormat{
#Validate response format must match json, xml, or, csv
if ($format !~ /^json$|^xml$|^csv$/){
$error .= "INVALID - Result Format";
ng=\"UTF-8\"?><iban><result>" . $responseString . "</result></iban>";
}elsif($format eq "json"){
$responseString = "{\"result\":\"" . $responseString . "\"}";
}
}
1;