in reply to Re^3: Code after MainLoop; Tk
in thread Code after MainLoop; Tk

Can't test at the moment, but shouldn't these
-command => print OUTFILE "$job8\n";
instead be
-command => sub {print OUTFILE "$job8\n"};
Otherwise the print is done when constructing the buttons instead of when pressing them...

Replies are listed 'Best First'.
Re^5: Code after MainLoop; Tk
by PerlCowboy (Novice) on Jun 15, 2016 at 17:04 UTC
    You are right. This fixed that issue. Thank you! My code is now fully functional! :)