The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Finance::Huntington::Statement - Perl extension for parsing html bank statements from the Huntington Bank website.

SYNOPSIS

  use Finance::Huntington::Statement;
  $obj = new Finance::Huntington::Statement;
  $obj->parse_file (<open file handle | path to file>);

  print $obj->{account_name};
  print $obj->{account_number};
  print $obj->{last_updated}; (a time value)
  print $obj->{current_statement_balance};
  print $obj->{available_statement_balance};
  print $obj->{current_register_balance};
  @atms = %{$obj->{atms}};
  foreach (@atms) {
          print $_->{number};
          print $_->{date};
          print $_->{payee};
          print $_->{category};
          print $_->{amount};
  }
  # The following arrays may be accessed in the same way as 'atms':
  # checks
  # debit_cards
  # epays
  # mdcs
  @deposits = %{$obj->{deposits}};
  foreach (@deposits) {
          print $_->{number};
          print $_->{date};
          print $_->{payor}; # NOTE: only diff from others
          print $_->{category};
          print $_->{amount};
  }

DESCRIPTION

This version of Statement will parse Huntington online bank statements as of 09/2000. If the statement format changes, this gets broken. Look for later versions of this module for updates to correspond with current statements.

After parsing supplied html statement, $obj will hold a data structure representing the information extracted from the page.

EXPORT

None by default.

AUTHOR

Chad Lavy, chad@chadlavy.com

SEE ALSO

perl(1).