File-Util-Tempdir

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

SEE ALSO
    File::Spec has "tmpdir" function. It also tries to look at environment
    variables, e.g. on Unix it will look at "TMPDIR" (but not "TEMPDIR") and
    then falls back to "/tmp" (but not "/var/tmp").

    File::HomeDir, a cross-platform way to get user's home directory and a
    few other related directories.

    File::Temp to create a temporary directory.

    <https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest
    .html> for the specification of "XDG_RUNTIME_DIR".

AUTHOR
    perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2018, 2016 by perlancar@cpan.org.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.

lib/File/Util/Tempdir.pm  view on Meta::CPAN


L<File::Spec> has C<tmpdir> function. It also tries to look at environment
variables, e.g. on Unix it will look at C<TMPDIR> (but not C<TEMPDIR>) and
then falls back to C</tmp> (but not C</var/tmp>).

L<File::HomeDir>, a cross-platform way to get user's home directory and a few
other related directories.

L<File::Temp> to create a temporary directory.

L<https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>
for the specification of C<XDG_RUNTIME_DIR>.

=head1 AUTHOR

perlancar <perlancar@cpan.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2018, 2016 by perlancar@cpan.org.



( run in 0.345 second using v1.01-cache-2.11-cpan-299005ec8e3 )