Term::QRCode - Generate terminal base QR Code
use Term::QRCode;
print Term::QRCode->new->plot('Some text here.') . "\n";
Term::QRCode is allows you to generate QR Code for your terminal.
- new
-
$qrcode = Term::QRCode->new(%params);
The "new()" constructor
method instantiates a new Term::QRCode object.
Term::QRCode->new(
params => {}, # for Text::QRCode params
);
- plot($text)
-
$text = $qrcode->plot("blah blah");
Create a QR Code text for terminal.
Kazuhiro Osawa <yappo <at> shibuya <döt> pl>
<http://data.gyazo.com/1868c31229b41a11abd505b076fb7276.png> by nipotan
svn co http://svn.coderepos.org/share/lang/perl/Term-QRCode/trunk Term-QRCode
Term::QRCode is Subversion repository is hosted at
<http://coderepos.org/share/>. patches and collaborators are
welcome.
This library is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
Hey! The above document had some coding errors, which are explained
below:
- Around line 76:
- Non-ASCII character seen before =encoding in '<döt>'.
Assuming UTF-8