sweetblood has asked for the wisdom of the Perl Monks concerning the following question:
Anyone have any idea why this won't run as advertised?"C:\Dwimperl\perl\site\bin\pp.bat" --output="C:\Dwimperl\perl\Script +s\myName.exe" --gui --compress 6 --bundle "C:\Dwimperl\perl\Scripts\m +yName.pl"
#!/usr/bin/perl -w use strict; use Tk; use Sys::Hostname; my $hn = hostname; my $mw = MainWindow->new(); $mw->overrideredirect(1); $mw->Label(-text => "You Computer Name is: " . $/ . $hn, -font => "Arial 16")->pack; $mw->focusmodel('active'); Tk::after(10000, sub { $mw->destroy }); MainLoop();
Sweetblood
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tk and Par pp missing window on windows 7
by dasgar (Priest) on Mar 19, 2015 at 23:32 UTC |