http://www.perlmonks.org?node_id=906695


in reply to Tk::Error: Can't call method "selectionGet" on unblessed reference at C:/Perl64/ site/lib/Tk/DirSelect.pm line 53. using TK::DirSelect

chooseDirectory() works grand. except that the directory it returns has garbage characters. The solution to it is that the initial directory needs to be compliant with the OS. it worked fine on linux with the initial dir as /home/stoney but returned the garbage in windows until i used the env home and ran this $home =~ s/\\/\//g; on it. now the dir returns normal