Linux::TempFile - Creates a temporary file using O_TMPFILE
use Linux::TempFile; my $file = Linux::TempFile->new; # do something with $file (eg: print, chmod) $file->link('/path/to/file');
Linux::TempFile is a module to create a temporary file using O_TMPFILE.
This module is only available on GNU/Linux 3.11 or higher.
Creates a temporary file using O_TMPFILE.
Returns an instance of this class (inherits IO::Handle).
Creates a new filename linked to the temporary file by calling linkat(2).
File::Temp, IO::Handle, open(2), linkat(2)
Copyright (C) Jiro Nishiguchi.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jiro Nishiguchi <jiro@cpan.org>
To install Linux::TempFile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::TempFile
CPAN shell
perl -MCPAN -e shell install Linux::TempFile
For more information on module installation, please visit the detailed CPAN module installation guide.