GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEXT::QRCODE (3)

.ds Aq ’

NAME

Text::QRCode - Generate text base QR Code

CONTENTS

SYNOPSIS



    use Text::QRCode;

    my $arrayref = Text::QRCode->new()->plot("Some text here.");
    print join "\n", 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) 2013, 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEXT::QRCODE (3) 2014-04-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.