Grygonos has asked for the wisdom of the Perl Monks concerning the following question:
I am currently working on a Tk FTP client just for fun. In UNIX directories are noted like so , / and in win32 like so, \ or more appropriately to perl \\. I was wondering is there a method to determine which to use. is $env{comspec} enough? Is parsing the contents of $ftp->pwd enough to determine which OS the ftp server is running?
Let me know if I'm on the totally wrong track here. Thanks,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: win32/unix compatible code question
by jsprat (Curate) on Dec 09, 2003 at 19:06 UTC | |
|
Re: win32/unix compatible code question
by Roger (Parson) on Dec 09, 2003 at 23:17 UTC | |
by Grygonos (Chaplain) on Dec 10, 2003 at 20:21 UTC | |
|
Re: win32/unix compatible code question
by holo (Monk) on Dec 09, 2003 at 18:35 UTC | |
|
Re: win32/unix compatible code question
by BUU (Prior) on Dec 09, 2003 at 18:31 UTC | |
by Roger (Parson) on Dec 09, 2003 at 23:25 UTC | |
by Grygonos (Chaplain) on Dec 10, 2003 at 20:19 UTC |