Text::QRCode(3pm) User Contributed Perl Documentation Text::QRCode(3pm)NAME
Text::QRCode - Generate text base QR Code
SYNOPSIS
use Text::QRCode;
my $arrayref = Text::QRCode->new()->plot("Some text here.");
print join "
", map { join '', @$_ } @$arrayref;
# You will get following output.
******* * ** *******
* * * * * *
* *** * * *** *
* *** * ** * *** *
* *** * * * * *** *
* * **** * *
******* * * * *******
* **
** ** * *** * *
* ** *** * *
* **** * * **
* * * * * * ** ***
** * *** ** **
* ** * ** *
******* ***** ***
* * * ** * ****
* *** * * * * *
* *** * * ** * *
* *** * *** * ***
* * ** * * ***
******* * * ****
DESCRIPTION
This module allows you to generate QR Code using ' ' and '*'. This module use libqrencode '2.0.0' and above.
METHODS
new
$qrcode = Text::QRCode->new(%params);
The "new()" constructor method instantiates a new Text::QRCode object. "new()" accepts some parameters are the same as
"Imager::QRCode".
plot($text)
$arrayref = $qrcode->plot("blah blah");
Create a QR Code map. This method returns array reference ploted QR Code with the given text.
INSTANT METHODS
plot_qrcode($text, \%params)
Instant method. $text is input text. %params is same parameter as "new()".
SEE ALSO
"Imager::QRCode", "Term::QRCode", "HTML::QRCode", "http://www.qrcode.com/", "http://megaui.net/fukuchi/works/qrencode/index.en.html"
AUTHOR
Yoshiki Kurihara "<kurihara __at__ cpan.org>"
LICENCE
Copyright (c) 2007, Yoshiki KURIHARA "<kurihara __at__ cpan.org>".
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-11-15 Text::QRCode(3pm)
Check Out this Related Man Page
Pod::POM::View::Text(3) User Contributed Perl Documentation Pod::POM::View::Text(3)NAME
Pod::POM::View::Text
DESCRIPTION
Text view of a Pod Object Model.
METHODS
"view($self, $type, $item)"
"view_pod($self, $pod)"
"view_head1($self, $head1)"
"view_head2($self, $head2)"
"view_head3($self, $head3)"
"view_head4($self, $head4)"
"view_over($self, $over)"
"view_item($self, $item)"
"view_for($self, $for)"
"view_begin($self, $begin)"
"view_textblock($self, $textblock)"
"view_verbatim($self, $verbatim)"
"view_meta($self, $meta)"
"view_seq_bold($self, $text)"
Returns the text of a "B<>" sequence in 'bold' (i.e. surrounded by asterisks, like *this*).
"view_seq_italic($self, $text)"
Returns the text of a "I<>" sequence in 'italics' (i.e. surrounded by underscores, like _this_).
"view_seq_code($self, $text)"
"view_seq_file($self, $text)"
"view_seq_entity($self, $text)"
"view_seq_index($self, $text)"
Returns an empty string. Index sequences are suppressed in text view.
"view_seq_link($self, $text)"
AUTHOR
Andy Wardley <abw@kfs.org>
COPYRIGHT AND LICENSE
Copyright (C) 2000 Andy Wardley. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.3 2010-04-01 Pod::POM::View::Text(3)