sam_bakki has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
OS: Windows7
Perl : Active Perl 5.16, x86
C:\>set TMPDIR=C:\Temp C:\>set TEMP=C:\Temp C:\>perl -MFile::Spec -e "print File::Spec->tmpdir();" \ C:\>perl -MFile::Spec -e "print $File::Spec::VERSION;" 3.40
I expect C:\Temp but it is giving \. Am I doing something stupid or do you also face issue with File::Spec?
Thanks & Regards,
Bakkiaraj M
Perl Gtk2 technology demo project - http://code.google.com/p/saaral-soft-search-spider/ , contributions are welcome.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: File::Spec tmpdir() is behaving wrongly in Windows7
by sundialsvc4 (Abbot) on Jul 31, 2013 at 13:15 UTC | |
by marinersk (Priest) on Jul 31, 2013 at 14:27 UTC | |
by sam_bakki (Pilgrim) on Aug 01, 2013 at 05:21 UTC | |
by sam_bakki (Pilgrim) on Aug 02, 2013 at 05:39 UTC | |
Re: File::Spec tmpdir() is behaving wrongly in Windows7
by ww (Archbishop) on Jul 31, 2013 at 12:54 UTC | |
Re: File::Spec tmpdir() is behaving wrongly in Windows7
by MidLifeXis (Monsignor) on Jul 31, 2013 at 13:33 UTC |
Back to
Seekers of Perl Wisdom