- Perl: use Text::QRCode (pure Perl, pre-installed) instead of Imager::QRCode - Elixir: try Erlang :qrcode module, fallback to CLI - OCaml: use Unix.open_process_in (no ctypes in compiled mode) - Fortran: direct C FFI binding (requires -lqrencode at link)
5 lines
161 B
Perl
5 lines
161 B
Perl
use Text::QRCode;
|
|
my $qr = Text::QRCode->new();
|
|
my $matrix = $qr->plot("unsandbox-qr-ok");
|
|
my $rows = scalar(@$matrix);
|
|
print "QR:unsandbox-qr-ok:ROWS:$rows\n";
|