Raoul Gunnar Borenius dijo [Mon, Feb 16, 2015 at 11:30:24AM +0100]:
> File::MkTemp and File::MkTempO provides functions to create unique strings
> for use as file/directory names based on an user specified template.
> 
> The package would be very useful for Nagios/Icinga-Installations
> using the optional Kerberos-Check-Plugin from
> http://exchange.nagios.org/directory/Plugins/Security/check_krb5/details
> 
> This plugin is implemented in Perl and needs File::MkTemp which
> is not in Debian yet.

Umh, what does it provide beyond what File::Temp (which is in the
standard library) already does? 

$ perl -e 'use File::Temp; $f=File::Temp->new(TEMPLATE=>"FooBarXXXX", 
DIR=>"/tmp", SUFFIX=>".foo"); print $f->filename,"\n";'
/tmp/FooBarM1Xo.foo

File::Temp not only creates unique strings, but also automatically
handles the file or directory creation and remotion.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to