MainLoop;
It's not missing. It never was missing.
I've even checked the "[download]" link (http://www.perlmonks.org/?abspart=1;displaytype=displaycode;node_id=1041950;part=2). No problems encountered: it's the last line there too.
This suggests that your download of the code I posted is corrupt. As a first step in troubleshooting this problem, try downloading it again and then see if the new copy works.
There is nothing in the code I posted that was not available in the earliest version of Tk on CPAN, which is dated 28 Jul 1999 (see Tk800.015).
Furthermore, that version of Tk required Perl 5.004_04 (see Tk800.015 source) which is dated 1997-Oct-15 (see perlhist).
While you may choose to upgrade Perl or Tk to newer versions than you currently have, it would seem extremely unlikely that you would need to in order to get this script to work. For what it's worth, I'm using the latest versions of both (Perl 5.18.0 and Tk 804.031).
"The application paused before starting then displayed the progress bars full."
That just shouldn't happen. If, after following the suggestions above, you still see this behaviour, try reinstalling Tk.
"I think it may be an issue with my Tk package, I am going to try it on another machine."
If you think the problem lies with Tk, then reinstall Tk and try again.
If you think the problem is your "machine", check CPAN Testers Reports for Tk before trying on another (arbitrary) "machine".
|