perl-Acme-CPANModules-GettingTempDir-0.001-alt1.noarch.rpm


Advertisement

Description

perl-Acme-CPANModules-GettingTempDir - Getting system-wide temporary directory in a portable way

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Acme-CPANModules-GettingTempDir-0.001-alt1.noarch.rpm
Package name perl-Acme-CPANModules-GettingTempDir
Package version 0.001
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 24.02 KB
Installed size 24.02 KB
Getting system-wide temporary directory in a portable way.
There's the good ol' the File::Spec manpage which has a `tmpdir' function. On Unix it
looks at `TMPDIR' environment variable before falling back to `/tmp'.
the File::Temp manpage uses this for its `tempdir' when a template is not specified.
Then there's the File::Util::Tempdir manpage which tries a little harder. On Unix, its
`get_tempdir' will look at `TMPDIR', then also `TEMPDIR', `TMP', `TEMP'. If none
of those are set, it will return the first existing directory from the list:
`/tmp', `/var/tmp'. If everything fails, will die.
File::Util::Tempdir also provides `get_user_tempdir' which returns a
user-private temporary directory, which can be useful if you want to create
temporary file with predetermined names. It will return temporary directory
pointed by `XDG_RUNTIME_DIR' (e.g. `/run/user/1000') or, if unavailable, will
create a subdirectory under the world-writable temporary directory (e.g.
`/tmp/1000').

Alternatives

Package Version Architecture Repository
perl-Acme-CPANModules-GettingTempDir - - -

Requires

Name Value
/usr/share/perl5 -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Acme/CPANModules/GettingTempDir.pm) = 0.001
perl-Acme-CPANModules-GettingTempDir = 0.001-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Acme-CPANModules-GettingTempDir-0.001-alt1.noarch.rpm
Source Package perl-Acme-CPANModules-GettingTempDir-0.001-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Acme-CPANModules-GettingTempDir rpm package:
    # sudo apt-get install perl-Acme-CPANModules-GettingTempDir

Files

Path
/usr/share/doc/perl-Acme-CPANModules-GettingTempDir-0.001/Changes
/usr/share/doc/perl-Acme-CPANModules-GettingTempDir-0.001/LICENSE
/usr/share/doc/perl-Acme-CPANModules-GettingTempDir-0.001/README
/usr/share/perl5/Acme/
/usr/share/perl5/Acme/CPANModules/GettingTempDir.pm

See Also

Package Description
perl-Acme-CPANModules-HidingModules-0.001-alt1.noarch.rpm Simulate the unavailability of modules
perl-Acme-CPANModules-Import-CPANRatings-User-perlancar-0.001-alt1.noarch.rpm Modules mentioned by CPANRatings user perlancar
perl-Acme-CPANModules-Import-CPANRatings-User-stevenharyanto-0.001-alt1.noarch.rpm Modules mentioned by CPANRatings user stevenharyanto
perl-Acme-CPANModules-LocalCPANIndex-0.001-alt1.noarch.rpm Creating an index against local CPAN mirror
perl-Acme-CPANModules-LocalCPANMirror-0.001-alt1.noarch.rpm Creating a local CPAN mirror
perl-Acme-CPANModules-MagicVariableTechnique-0.001-alt1.noarch.rpm Modules which employ magic variable technique to do stuffs
perl-Acme-CPANModules-ModernPreambles-0.001-alt1.noarch.rpm Modules that offer modern preambles
perl-Acme-CPANModules-MooseStyleClassBuilder-0.001-alt1.noarch.rpm Moose-style (Perl 6-style) class builders
perl-Acme-CPANModules-NO_COLOR-0.003-alt1.noarch.rpm Modules that follow the NO_COLOR convention
perl-Acme-CPANModules-NonMooseStyleClassBuilder-0.001-alt1.noarch.rpm Non-Moose-style class builders
perl-Acme-CPANModules-OneLetter-0.001-alt1.noarch.rpm One-letter CPAN modules
perl-Acme-CPANModules-Org-0.001-alt1.noarch.rpm Modules related to Org format
perl-Acme-CPANModules-PERLANCAR-RsyncEnhancements-0.001-alt1.noarch.rpm List of my enhancements for rsync
perl-Acme-CPANModules-PERLANCAR-Temp-Plus-0.001-alt1.noarch.rpm Modules I plus while MetaCPAN's ++ is not working
perl-Acme-CPANModules-Parse-UnixCommands-0.001-alt1.noarch.rpm Modules that parse output of Unix commands
Advertisement
Advertisement