Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    BarcodeID 0.1

    Download button

    No screenshots available
    Downloads: 156  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Ben Maynard | More programs
    Perl Artistic License / FREE
    December 17th, 2010, 07:34 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    BarcodeID description

    Perform simple identification and validation on UPC-A, UPC-E, EAN-8, EAN-13, CODE39 barcodes

    BarcodeID is a Perl module to perform simple identification and validation on UPC-A, UPC-E, EAN-8, EAN-13, CODE39 barcodes.

    When passing the barcode you should omit the check digit, so for a UPCA you should only be passing 11 digits, for a UPCE you should just be passing 6, EAN-8 should be 7 EAN-13 should be 12, the only difference in CODE39 which is variable length and as such the only checking performed here is that is doesn't contain invalid characters.

    You can just pass in a barcode and identify it or you can pass in a barcode and a type and validate it.

    SYNOPSIS

     use BarcodeID qw/validate identify barcode type/;

     my $id = BarcodeID->new('barcode' => '012345');
     print $id->barcode();
     $id->identify();
     print $id->type();
     if($id->validate())
     {
     print "Invalid barcode";
     }

     #### OR

     my $id = BarcodeID->new('barcode' => '012345', 'type' => 'UPCE');

     if($id->validate())
     {
     print "Invalid barcode";
     }



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    UPC-A validator | EAN-8 identifier | barcodes validator | UPC-A | UPC-E | EAN-13

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM