Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
HTML::QRCode(3)	      User Contributed Perl Documentation      HTML::QRCode(3)

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.

perl v5.32.0			  2008-10-31		       HTML::QRCode(3)

NAME | SYNOPSIS | DESCRIPTION | METHODS | AUTHOR | SEE ALSO | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=HTML::QRCode&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help