in reply to Re: Tcl::Tk getOpenFile Not Working - Missing File Operand
in thread Tcl::Tk getOpenFile Not Working - Missing File Operand

Your "sub open_file" declares a LOCAL lexical my $select_input_file.

Your "push_button" gets a different (uninitialized) variable with the same name.

Lesson : always use strict;

     "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom

  • Comment on Re^2: Tcl::Tk getOpenFile Not Working - Missing File Operand