in reply to Tk getOpenFile initialdir problem

Which Tk version are you using? The code works as expected with perl5.8.0+Tk800.025 and perl5.8.4+Tk804.027, but older Tk::FBox versions are known to have some problems.

Replies are listed 'Best First'.
Re: Re: Tk getOpenFile initialdir problem
by gri6507 (Deacon) on Jun 02, 2004 at 14:38 UTC
    $Tk::VERSION = '800.023'
      Upgrading will surely help. If you can't upgrade, then you could try to just use Tk/FBox.pm and maybe also Tk/Optionmenu.pm from Tk800.025.