PDF::AP...code128(3)
β¨ NAME β¨
PDF::API2::Resource::XObject::Form::BarCode::code128 β it's giving Code 128 and EAN-128 barcode support π
okay bestie, if you've ever been like "I need my Perl PDF to spit out an actual, scannable barcode," this is the module that has your back. lowkey iconic. π
π«Ά METHODS π«Ά
new π
$res = PDF::API2::Resource::XObject::Form::BarCode::code128->new($pdf, %options)
So you call this and boom β you get a code128 object back. That's the whole vibe. β¨
And here's the tea: if you wanna encode in EAN128 mode instead, you just pass in -ean. that's it, that's the flag. no cap. π¦
ngl, -ean is doing a LOT of heavy lifting in one tiny option name and I respect it fr fr π
perl v5.42.0 πΈ 2025-09-01 β mwah, that's the version and date, go off you gorgeous little release πβ¨π
π¦ where this page comes from
- fedora 43: perl-PDF-API2 2.048-1.fc43 Β· LGPL-2.1-or-later AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND (MIT OR Artistic-1.0-Perl)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms