Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Tk getOpenFile, can't get -initialdir to work

by mifflin (Curate)
on Apr 04, 2008 at 17:46 UTC ( #678425=note: print w/ replies, xml ) Need Help??


in reply to Re: Tk getOpenFile, can't get -initialdir to work
in thread Tk getOpenFile, can't get -initialdir to work

I was taking my input from the chooseDirectory widget.
chooseDirectory always uses forward slashes on xp.
Passing its response through File::Spec->canonpath seems to do the trick.
thanks.


Comment on Re^2: Tk getOpenFile, can't get -initialdir to work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://678425]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-08-31 11:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (354 votes), past polls