develooper Front page | perl.perl5.porters | Postings from July 2013


Thread Next
H.Merijn Brand
July 26, 2013 11:30
Message ID:
    Returns a string representation of the first writable directory from
    a list of possible temporary directories.  Returns the current
    directory if no writable temporary directories are found.  The list
    of directories checked depends on the platform; e.g. File::Spec::Unix
    checks $ENV{TMPDIR} (unless taint is on) and /tmp.

      $tmpdir = File::Spec->tmpdir ();

I just encountered a situation (Strawberry Portable) where the returned
value is "C:\Temp" and C:\Temp does NOT exist.

Is that worth tracing?

H.Merijn Brand   Perl Monger
using perl5.00307 .. 5.19   porting perl5 on HP-UX, AIX, and openSUSE

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About