SVG::Barcode - Base class for SVG 1D and 2D codes
my $plotter = SVG::Barcode::Subclass->new(\%params) $plotter->param(param_name => 'newvalue'); my $svg = $plotter->plot($text);
SVG::Barcode is a base class for SVG 1D and 2D codes.
You will not use it directly, it will be loaded by its subclasses:
SVG::Barcode::QRCode
$plotter = SVG::Barcode::Subclass->new(\%params); $plotter = SVG::Barcode::Subclass->new; # create with defaults
$value = $plotter->param($name); $svg = $plotter->param($name, $newvalue); $svg = $plotter->param($name, ''); # set to default
Getter and setter for the parameters.
$svg = $plotter->plot($text);
Creates a QR Code.
SVG::Barcode::QRCode.
© 2019 by Tekki (Rolf Stöckli).
This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
To install SVG::Barcode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVG::Barcode
CPAN shell
perl -MCPAN -e shell install SVG::Barcode
For more information on module installation, please visit the detailed CPAN module installation guide.