in reply to Best way to find Environment TEMP

have you considered File::Temp?

Replies are listed 'Best First'.
Re^2: Best way to find Environment TEMP
by blazar (Canon) on Jun 12, 2007 at 15:24 UTC
    have you considered File::Temp?

    Quite a precious module but aimed at a task that's likely to be orthogonal to the OP's. In fact he may even want to use his $TempPath in conjunction with F::T to create temporary files there. Of course File::Spec's tmpdir() gets closer to the original task and F::T uses it behind the curtains for reasonable defaults.