.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Text::QRCode 3pm" .TH Text::QRCode 3pm 2024-03-07 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Text::QRCode \- Generate text base QR Code .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use Text::QRCode; \& \& my $arrayref = Text::QRCode\->new()\->plot("Some text here."); \& print join "\en", map { join \*(Aq\*(Aq, @$_ } @$arrayref; \& \& # You will get following output. \& ******* * ** ******* \& * * * * * * \& * *** * * *** * \& * *** * ** * *** * \& * *** * * * * *** * \& * * **** * * \& ******* * * * ******* \& * ** \& ** ** * *** * * \& * ** *** * * \& * **** * * ** \& * * * * * * ** *** \& ** * *** ** ** \& * ** * ** * \& ******* ***** *** \& * * * ** * **** \& * *** * * * * * \& * *** * * ** * * \& * *** * *** * *** \& * * ** * * *** \& ******* * * **** .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" This module allows you to generate QR Code using ' ' and '*'. This module use libqrencode '2.0.0' and above. .SH METHODS .IX Header "METHODS" .IP new 4 .IX Item "new" .Vb 1 \& $qrcode = Text::QRCode\->new(%params); .Ve .Sp The \f(CWnew()\fR constructor method instantiates a new Text::QRCode object. \f(CWnew()\fR accepts some parameters are the same as \f(CW\*(C`Imager::QRCode\*(C'\fR. .IP plot($text) 4 .IX Item "plot($text)" .Vb 1 \& $arrayref = $qrcode\->plot("blah blah"); .Ve .Sp Create a QR Code map. This method returns array reference ploted QR Code with the given text. .SH "INSTANT METHODS" .IX Header "INSTANT METHODS" .IP "plot_qrcode($text, \e%params)" 4 .IX Item "plot_qrcode($text, %params)" Instant method. \f(CW$text\fR is input text. \f(CW%params\fR is same parameter as \f(CWnew()\fR. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\f(CW\*(C`Imager::QRCode\*(C'\fR, \f(CW\*(C`Term::QRCode\*(C'\fR, \f(CW\*(C`HTML::QRCode\*(C'\fR, \f(CW\*(C`http://www.qrcode.com/\*(C'\fR, \f(CW\*(C`http://megaui.net/fukuchi/works/qrencode/index.en.html\*(C'\fR .SH AUTHOR .IX Header "AUTHOR" Yoshiki Kurihara \f(CW\*(C`\*(C'\fR .SH LICENCE .IX Header "LICENCE" Copyright (c) 2013, Yoshiki KURIHARA \f(CW\*(C`\*(C'\fR. .PP This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.