Business::Barcode::EAN13Perform simple validation of an EAN-13 barcode | |
Download |
Business::Barcode::EAN13 Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tony Bowden
- Publisher web site:
- http://search.cpan.org/~sri/
Business::Barcode::EAN13 Tags
Business::Barcode::EAN13 Description
Perform simple validation of an EAN-13 barcode Business::Barcode::EAN13 is a Perl module with subroutines that will tell you whether or not an EAN-13 barcode is self-consistent: i.e. whether or not it checksums correctly. If provided with the 12 digit stem of a barcode it will also return the correct check digit.We can also return the country in which the manufacturer's identifcation code was registered, and a method for picking a "most preferred" barcode from a list, given a preferred country list.SYNOPSIS use Business::Barcode::EAN13 qw/valid_barcode check_digit issuer_ccode best_barcode/; my $is_valid = valid_barcode("5023965006028"); my $check_digit = check_digit("502396500602"); my $country_code = issuer_ccode("5023965006028"); my $best_code = best_barcode(@barcodes, @prefs); Requirements: · Perl
Business::Barcode::EAN13 Related Software