

If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA b) the Perl Artistic License. You should have received a copy of the GNU General Public License along with this program see the file COPYING. This program is free software you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License either version 2 of the License, or (at your option) any later version. print $p-> AUTHOR Curt Evans, COPYRIGHTĬopyright Curt Evans, 2014. $p->haircolor Returns the ANSI D20 hair color definitionĪCCESSING FIELDS Decoded fields are accessed directly via an anonymous hash:Įx. Returns null.Īttempts to determine country of origin from the ISO ID. METHODS $p->loadtrack(tracknumber,string) Load the magnetic stripe track $p->parse_magstripe Parse loaded magstripe data. For a description, call the haircolor method.

Call the country method to determine country of origin: USA, MEX or CAN. Height is in inches or cm depending on country. Otherwise, this field represents the last valid date. If expiration date year is 2077, license never expires. License License Number 3/7 2 Includes overflow from field 7 $p->parse_magstripe FIELDS Field Name AAMVA Field # Track SYNOPSIS $track1='%ORSPRINGFIELD ^ SIMPSON $HOMER$J ^ 742 EVERGREEN TERR ^?' # % and ? are sentinals. Not all magnetic stripe readers can read track 3. Load the tracks you have available, only track 1 is mandatory. Starting and ending sentinals in the track data are optional.

You should refer to the latest specification at for details on the field contents. Most data is available both in its raw and decoded form. License is a parser/decoder for the American Association of Motor Vehicle Administrators(AAMVA) format that is used to encode the magnetic stripe found on Driver's Licenses in the US and Canada. NAME Parser::AAMVA::License - AAMVA Driver's License Magnetic Stripe Parser DESCRIPTION NAME Parser::AAMVA::License - AAMVA Driver's License Magnetic Stripe Parser.
