in reply to Re: Tcl::Tk getOpenFile Not Working - Missing File Operand
in thread Tcl::Tk getOpenFile Not Working - Missing File Operand
As you have it, the scope of the lexical variable my $select_input_file is limited to the sub open_file. A quick hack would be to declare it outside of the sub, so it becomes globally visible.
BTW, using strictures would have warned you that $select_input_file within push_button() is not what you thought it is...
|
|---|