Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by Stoney2005 (Acolyte)
on May 25, 2011 at 19:11 UTC ( #906695=note: print w/replies, xml ) Need Help??


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
  • Comment on Re: Tk::Error: Can't call method "selectionGet" on unblessed reference at C:/Perl64/ site/lib/Tk/DirSelect.pm line 53. using TK::DirSelect

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://906695]
help
Chatterbox?
[marinersk]: I presume retirement is an option, since you were considering it. Tough to drop something you love, though.
[james28909]: ok, i think im going to dive on into OO. i need to keep track of users in a program i have and the easiest way seems to be OO. does anyone have a good site that they knowof for someone wanting to start in O programming?

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (12)
As of 2017-05-25 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?