The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

File::MkTemp - Make temporary filename from template

SYNOPSIS

        use File::MkTemp;

        mktemp(tempXXXXXX,[dir]);

        $string = mktemp(tempXXXXXX,[dir]);
        open(F,$string);

DESCRIPTION

The MkTemp module provides the function mktemp() which returns a unique string which you can use to make unique files or directories with. It is based on the mktemp function found in c.

The mktemp function takes one or two parameters. The first param is a template with at least 6 uppercase letter X at the end of the string. The second optional param is the directory in which to test for duplicates.

AUTHOR

File::MkTemp was written by Travis Gummels. Please send bug reports and or comments to: travis.gummels@usa.net

COPYRIGHT

Copyright 1999, Travis Gummels. All rights reserved. This may be used and modified however you want. If you redistribute after making modifications please note modifications you made somewhere in the distribution.