ACH
view release on metacpan or search on metacpan
9596979899100101102103104105106107108109110111112113114115116117=head2 printAllData
Prints all the ACH data
=cut
# Print all data from the ACH object
sub
printAllData {
my
$self
=
shift
;
foreach
my
$item
(@{
$self
->{_achData}}) {
# Array of ACH file Sections
my
@achSections
=
map
{
defined
$_
?
$_
:
''
} @{
$item
};
foreach
my
$section
(
@achSections
) {
# Array of ACH file Section data
my
%hash
=
map
{
defined
$_
?
$_
:
''
} %{
$section
};
foreach
my
$hashItem
(
keys
(
%hash
)) {
# Hash containing the ACH field name and value
"$hashItem: $hash{$hashItem}\n"
;
}
}
}
}
=head2 getData
Returns the ACH data
( run in 0.242 second using v1.01-cache-2.11-cpan-e9199f4ba4c )