HTML::Barcode::2D - A base class for HTML representations of 2D barcodes
This is a base class for creating HTML representations of one-dimensional barcodes. Do not use it directly.
If you are looking to generate a barcode, please see one of the following modules instead:
Here are some of the types of barcodes you can scan with the modules in this distribution. Others may exist, so try searching CPAN.
You need to either override this, or override the render_barcode method so it does not use this.
render_barcode
This should return a 2-dimensional arrayref of true and false values (for "on" and "off").
It is not recommended to publish this method in your API.
In addition to those provided by HTML::Barcode, a 2D barcode has these:
This is a CSS value for width and height of a square block within the barcode.
It is simply a convenience method that sets both the bar_height and bar_width attributes.
Mark A. Stratman, <stratman@gmail.com>
<stratman@gmail.com>
http://github.com/mstratman/HTML-Barcode
HTML::Barcode
Copyright 2011 Mark A. Stratman.
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.
To install HTML::Barcode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Barcode
CPAN shell
perl -MCPAN -e shell install HTML::Barcode
For more information on module installation, please visit the detailed CPAN module installation guide.