Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

GD::Barcode::QRcode and perl2exe

by Dr. Mu (Hermit)
on Nov 08, 2012 at 05:43 UTC ( #1002819=perlquestion: print w/ replies, xml ) Need Help??
Dr. Mu has asked for the wisdom of the Perl Monks concerning the following question:

I'm having issues with a program that uses GD::Barcode::QRcode when it's packaged with perl2exe. Here's a minimal program that illustrates the problem:
use strict; use GD::Barcode::QRcode; use GD; my $qr = GD::Barcode::QRcode->new("testing 123", {Ecc => 'M', Version +=> 5, ModuleSize => 6}); open JPG, ">qrcode.jpg"; binmode JPG; print JPG $qr->plot()->jpeg(100); close JPG
When interpreted, it generates the correct QR code block. When run from a perl2exe-generated .exe, it generates a correctly-sized and -formatted block, but with none of the data bits.

Using Perl2Exe V8.40 with Perl 5.8.4 (ActivePerl build 810) under Win XP.

Any ideas?

Thanks.

Comment on GD::Barcode::QRcode and perl2exe
Download Code
Re: GD::Barcode::QRcode and perl2exe
by Anonymous Monk on Nov 08, 2012 at 08:30 UTC

    you probably forgot to pack the files perl2exe didn't know to pack , standard faq item for all packers par/pp,perlapp,cavapack ... only fatpacker uses .packlist without trying to be clever (remove unused files)

    OTOH, the version you listed is quite ancient

    Get yourself http://www.citrusperl.com/ and http://www.cavapackager.com/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1002819]
Approved by rovf
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2015-07-06 16:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls