in reply to Tk::getOpenFile & select error
There is a typo in Tk::FBox.pm. In line 909 _get_select_Path should be all lowercased. If you avoid the -multiple option, this should not show up.
--- C:\strawberry-perl\perl\site\lib\Tk\FBox.pm Sa Feb 10 11:29:00 +2007 +++ C:\strawberry-perl\perl\site\lib\Tk\FBox-new.pm So Sep 6 11:39 +:02 2009 @@ -906,7 +906,7 @@ if ($w->cget('-multiple')) { $selectFilePath = []; for my $f (@{ $w->{'selectFile'} }) { - push @$selectFilePath, JoinFile($w->_get_select_Path, $f); + push @$selectFilePath, JoinFile($w->_get_select_path, $f); } } else { $selectFilePath = JoinFile($w->_get_select_path,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk::getOpenFile & select error
by lamprecht (Friar) on Sep 06, 2009 at 09:50 UTC | |
|
Re^2: Tk::getOpenFile & select error
by jcook4615 (Initiate) on Sep 06, 2009 at 21:24 UTC |