Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^4: pp with gui

by mkmal (Novice)
on Mar 25, 2013 at 01:04 UTC ( #1025212=note: print w/replies, xml ) Need Help??

in reply to Re^3: pp with gui
in thread pp with gui

I finally got some time to play with this, unfortunately no luck yet.
Here is my updated code.

use strict;
use warnings;
use File::Spec::Functions;

if (exists $ENV{PAR_PROGNAME}) {
use Config ();
$ENV{PERL_TCL_DL_PATH} = catfile(
'tkkit.' . $Config::Config{dlext},
use Tkx;

-text => "Hello, world",
-command => sub { Tkx::destroy("."); },


Here is the command I run to create the .exe.

pp --gui -o gui2.exe -l C:/Perl/lib/auto/Tcl/tkki. dll -l C:/Perl/lib/auto/Tcl/Tcl.dll

The issue is still exactly the same. If I run the program as a perl program it works fine.
If I run it as an .exe nothing happens.

Any additional ideas would be appreciated.

Oh, if I add -x it pops up the "hello" box during the compile. I click on the box and it continues the compile. The resulting .exe does nothing.

Replies are listed 'Best First'.
Re^5: pp with gui
by Anonymous Monk on Mar 25, 2013 at 01:18 UTC
    you're a funny guy, really


        me: try these eleventeen things

        you: I tried one , now what?

        me: try one of the other tenteen things, turn on debugging

        you: I tried kinda the same thing, now what

        me: you're a funny guy

        you: ??

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1025212]
[1nickt]: The Romans were everywhere!
[erix]: everywhere? Not quite. The Limes runs through the Netherlands
[Discipulus]: marto lives above Vallo Adriano, i think
[Discipulus]: Anyway many years passed, we had Perl 3 iirc.. ;=)
[1nickt]: erix looking ... which one?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-11-21 12:13 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (299 votes). Check out past polls.