The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::QRCode - Generate HTML based QR Code

SYNOPSIS

  #!/usr/bin/env perl

  use HTML::QRCode;
  use CGI

  my $q = CGI->new;
  my $text = $q->param('text') || 'http://example.com/';
  my $qrcode = HTML::QRCode->new->plot($text);
  print $q->header;
  print <<"HTML";
  <html>
  <head></head>
  <body>
  $qrcode
  </body>
  </html>
  HTML

DESCRIPTION

HTML::QRCode is HTML based QRCode generator, using Text::QRCode

METHODS

new
    $qrcode = HTML::QRCode->new(%params);

The new() constructor method instantiates a new Term::QRCode object.

plot($text)
    $arrayref = $qrcode->plot("blah blah");

Return HTML based QR Code.

AUTHOR

Hideo Kimura <hide <at> hide-k.net>

Yoshiki Kurihara

Yappo

nipotan

SEE ALSO

Text::QRCode, Imager::QRCode, Term::QRCode, HTML::QRCode, http://www.qrcode.com/, http://megaui.net/fukuchi/works/qrencode/index.en.html

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.