Provided by: libbarcode-datamatrix-perl_0.10-1_all bug

NAME

       Barcode::DataMatrix - Generate data for Data Matrix barcodes

SYNOPSIS

           use Barcode::DataMatrix;
           my $data = Barcode::DataMatrix->new->barcode('MONKEY');
           for my $row (@$data) {
               print for map { $_ ? "#" : ' ' } @$row;
               print "\n";
           }

DESCRIPTION

       This class is used to generate data for Data Matrix barcodes. It is primarily useful as a
       data source for barcode modules that do rendering, such as HTML::Barcode::DataMatrix.  You
       can easily make a version that renders an image, PDF, or anything else.

METHODS

   new (%attributes)
       Instantiate a new Barcode::DataMatrix object. The %attributes hash can take any of the
       other attributes listed below.

   barcode ($text)
       Generate barcode data representing the $text string.  This returns an array ref of rows in
       the data matrix, each containing array refs of cells within that row. The cells are true
       and false values that represent filled or empty squares.

       This can throw an exception if it's unable to generate the barcode data.

ATTRIBUTES

   encoding_mode
       The encoding mode for the data matrix. Can be one of: "AUTO" (default), "ASCII", "C40",
       "TEXT", "BASE256", or "NONE".

   size
       The module size for the data matrix. Can be one of: "AUTO" (default), "10x10", "12x12",
       "14x14", "16x16", "18x18", "20x20", "22x22", "24x24", "26x26", "32x32", "36x36", "40x40",
       "44x44", "48x48", "52x52", "64x64", "72x72", "80x80", "88x88", "96x96", "104x104",
       "120x120", "132x132", "144x144", "8x18", "8x32", "12x26", "12x36", "16x36", "16x48".

   process_tilde
       Boolean. Set to true to indicate the tilde character "~" is being used to recognize
       special characters. See this page for more information:
       <http://www.idautomation.com/datamatrixfaq.html>

AUTHORS

       Mons Anderson "<inthrax@gmail.com>" (GD::Barcode::DataMatrix at
       <https://github.com/Mons/perl-ex/>, from which this distribution originates)

       Mark A. Stratman, "<stratman@gmail.com>"

       Paul Cochrane, <https://github.com/paultcochrane>

SOURCE REPOSITORY

       <http://github.com/mstratman/Barcode-DataMatrix>

SEE ALSO

       HTML::Barcode::DataMatrix
       <http://grandzebu.net/informatique/codbar-en/datamatrix.htm>
       <http://www.idautomation.com/datamatrixfaq.html>

LICENSE AND COPYRIGHT

       Copyright 2015 the AUTHORs listed above.

       This program is free software; you can redistribute it and/or modify it under the terms of
       either: the GNU General Public License as published by the Free Software Foundation; or
       the Artistic License.

       See http://dev.perl.org/licenses/ for more information.