Hi:

If I have to create a writeable file say write.txt on fly during program
execution under the OS default/local drive of a machine ie C:\ or D:\ on
windows and /home/user etc on unix, how can I get that local/default drive
using perl so that I dont have to hardcode C:\ or D:\ or /home etc inside
the script as path to the write.txt.

Thanks much.

Reply via email to