Catalyst::View::GD::BarcodeCatalyst::View::GD::Barcode is a Perl module to make it easy to use GD::Barcode in Catalyst's View. | |
Download |
Catalyst::View::GD::Barcode Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Toshimitu Yanagisawa
- Publisher web site:
- http://search.cpan.org/~yana/Catalyst-View-GD-Barcode-0.03/lib/Catalyst/View/GD/Barcode.pm
Catalyst::View::GD::Barcode Tags
Catalyst::View::GD::Barcode Description
Catalyst::View::GD::Barcode is a Perl module to make it easy to use GD::Barcode in Catalyst's View. Catalyst::View::GD::Barcode is a Perl module to make it easy to use GD::Barcode in Catalyst's View.SYNOPSISSet string to be converted to barcode. $c->stash->{'barcode_string'} = '123456';Set barcode type. The default is 'NW7'. $c->stash->{'barcode_type'} = 'NW7'; COOP2of5 | Code39 | EAN13 | EAN8 | IATA2of5 | ITF | Industrial2of5 | Matrix2of5 | NW7Set barcode size option. $c->stash->{'barcode_size'} = 10; When the number of digit is insufficient, it buries by 0.Set any other GD::Barcode options. $c->stash->{'barcode_option'} = {NoText => 1}Print the barcode. $c->forward('Catalyst::View::GD::Barcode');METHODSgen_barcoedGenerate barcode using GD::Barcode. You only need to set string and barcode type and no need to bother anything else. If it fails, it returns the string in plain text.processSet code in $c->res->body().calc_checkdigitReturns the calculated check digit. Requirements: · Perl
Catalyst::View::GD::Barcode Related Software