in reply to Re: Using Tk inside a Perl exe
in thread Using Tk inside a Perl exe
END{ #!/bin/perl use Tk; use strict; use warnings; use Data::Dumper; print "The fils is located here: ".Tk::findINC('icon.png')."\n"; exit 0; }
... and the compilation instructions (icon.png is in the same directory as the Perl code):
pp -a "icon.png;resources/icon.png" -o example.exe example.plAfter executing the exe, I have the following message:
Can't call method "crc32String" without a package or object reference +at (...)/strawberry-perl-5.14.4.1-64bit-portable/perl/vendor/lib/PAR/ +Heavy.pm line 146. END failed--call queue aborted at -e line 965.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Using Tk inside a Perl exe
by marto (Cardinal) on Nov 16, 2018 at 14:09 UTC | |
by afoken (Chancellor) on Nov 17, 2018 at 13:04 UTC | |
by Garden Dwarf (Beadle) on Nov 19, 2018 at 10:44 UTC | |
by marto (Cardinal) on Nov 19, 2018 at 10:52 UTC | |
by Garden Dwarf (Beadle) on Nov 19, 2018 at 11:11 UTC |