|
/export/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Finance-MICR-LineParser/blib/html/site/lib/Finance/MICR/LineParser.html |
Then this returns somethign like</PRE> <P>U0000011135U_T052000113T_984U0837166</P> <P>NOTE: a string which is not <CODE>valid()</CODE> will not return a <CODE>micr_pretty()</CODE> code.</P> <P> <H2><A NAME=``giveup()''><CODE>giveup()</CODE></A></H2> <P>Returns true or false. Think of this also as 'gave up'. NOTE: A string that ended up not <CODE>valid()</CODE> could still return 0 here. This is because by default, Finance::MICR::LineParser attempts to match at least one of the main MICR fields before giving up.</P> <P> <HR> <H1><A NAME=``micr specific methods''>MICR SPECIFIC METHOD/A</H1> <P>There are five major fields on a MICR line. Two of the five major fields (transit and ``on us'') are broken into multiple fields- here called ``sub fields''. First are the five major fields...</P> <P> <H2><A NAME=``auxiliary_on_us()''><CODE>auxiliary_on_us()</CODE></A></H2> <P>contains check number if present; bracketed by 'on us' symbols returns undef if not found.</P> <P> <H2><A NAME=``epc()''><CODE>epc()</CODE></A></H2> <P>one character located to the left of the transit field if present returns undef if not found. This needs work.</P> <P> <H2><A NAME=``transit()''><CODE>transit()</CODE></A></H2> <P>Always 9 digits including check digit. Opens and closes with a transit symbol. (Some papers refer to this field as having 11 chars because they are counting the open and close symbols as characters.) returns undef if not found.</P> <P> <H2><A NAME=``on_us()''><CODE>on_us()</CODE></A></H2> <P>variable length 19 digits max between transit and amount fields (to the right of transit.) returns undef if not found.</P> <P> <H2><A NAME=``ammount()''><CODE>ammount()</CODE></A></H2> <P>10 digits zero filled; bracketed by two amount symbols returns undef if not found. This needs work.</P> <P> <HR> <H1><A NAME=``transit sub field methods''>TRANSIT SUB FIELD METHOD/A</H1> <P>Transit has 9 digits. It is croken into multiple fields:</P> <P> <H2><A NAME=``routing_number()''><CODE>routing_number()</CODE></A></H2> <P>return routing number. (digits 1-4) returns undef if not found.</P> <P> <H2><A NAME=``bank_number()''><CODE>bank_number()</CODE></A></H2> <P>return bank number (digits 5-8) returns undef if not found.</P> <P> <H2><A NAME=``check_digit()''><CODE>check_digit()</CODE></A></H2> <P>return check digit (one digit) returns undef if not found</P> <P> <HR> <H1><A NAME=``on us sub field methods''>ON US SUB FIELD METHOD/A</H1> <P> <H2><A NAME=``check_number()''><CODE>check_number()</CODE></A></H2> <P>returns check number, Located in various places in the on us field. returns undef if not found</P> <P> <H2><A NAME=``tpc()''><CODE>tpc()</CODE></A></H2> <P>max 6 characters; Located to right of account number returns undef if not found TODO: This needs some thought, on a personal check this would be the check number, what gives?</P> <P> <H2><A NAME=``account_number()''><CODE>account_number()</CODE></A></H2> <P>Variable length; always followed by the On Us symbol returns undef if not found</P> <P> <HR> <H1><A NAME=``bugs''>BUG/A</H1> <P>Please report bugs to developer.</P> <P>Notice: this module is under development. It is being used for production, but it *is* under development.</P> <P>Please notify with hany questions or concerns. I've seen very little on MICR and open source out there. If you have any recommendations, please don't hessitate on letting me know how to make this module better.</P> <P>This module helps me a lot, and I am hoping it may be of use to others and they may contribute criticism, patches, suggestions, etc.</P> <P> <HR> <H1><A NAME=``todo''>TODO</A></H1> <P>Not yet implemented:</P> <P>If you want to get *your* symbols output back, here's an example:</P> <PRE> my $micr = new Finance::MICR::LineParser({ string => $string_from_gocr, on_us_symbol => 'CCc', transit_symbol => 'Aa', dash_symbol => 'DDd', ammount_symbol => 'XxX', return_my_symbols=>1, });</PRE> <P> <HR> <H1><A NAME=``author''>AUTHOR</A></H1> <P>Leo Charre <<A HREF=``mailto:leo@leocharre.com''>leo@leocharre.com></P> <P>This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</P> <P> <HR> <H1><A NAME=``bugs''>BUG/A</H1> <P>Address bug reports and comments to: Leo Charre <<A HREF=``mailto:leo@leocharre.com''>leo@leocharre.com></P> <P> <HR> <H1><A NAME=``see also''>SEE ALSO</A></H1> <P><A HREF=``http://en.wikipedia.org/wiki/Magnetic_ink_character_recognition''>http://en.wikipedia.org/wiki/Magnetic_ink_character_recognition</P> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%> <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR=``#cccccc''> <FONT SIZE=+1><STRONG><P CLASS=block> Finance::MICR::LineParser - validate and parse a MICR code from a string</P></STRONG></FONT> </TD></TR> </TABLE>
</BODY>
</HTML>
|
/export/home/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Finance-MICR-LineParser/blib/html/site/lib/Finance/MICR/LineParser.html |