The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Card::Magnetic - Magnetic Stripe parser

VERSION

version 0.001

SYNOPSIS

This module is a parser to the contents of the magnetic stripe from cards that follow the ISO 7810 norm.

Now it parse the strip and create the basic structure on the object

use Card::Magnetic;

my $card = Card::Magnetic->new();
$card->stripe( "stripe content" );
$card->parse();

NAME

Card::Magnetic - Magnetic stripe parser and builder

SUBROUTINES/METHODS

new

Instanciate a new card

stripe

Stripe accessor

parse

Parse the stripe and create a internal hash hashref structure with the exploded layout of the card.

AUTHOR

Frederico Recsky <recsky@cpan.org>

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Frederico Recsky <cartas@frederico.me>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Frederico Recsky.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.