Lines Matching refs:template
20 my $template = File::Spec->catfile(File::Spec->tmpdir, 'wowserXXXX');
22 (my $fh, $template) = mkstemp($template);
24 print "# MKSTEMP: FH is $fh File is $template fileno=".fileno($fh)."\n";
26 ok( (-e $template) );
54 my $status = unlink0($fh, $template);
65 $template = "suffixXXXXXX";
68 ($fh, my $fname) = mkstemps($template, $suffix);
70 print "# MKSTEMPS: File is $template -> $fname fileno=".fileno($fh)."\n";
87 $template = File::Spec->catdir(File::Spec->tmpdir, 'tmpdirXXXXXX');
89 my $tmpdir = mkdtemp($template);
91 print "# MKDTEMP: Name is $tmpdir from template $template\n";
101 $template = File::Spec->catfile(File::Spec->tmpdir, 'mytestXXXXXX');
103 my $tmpfile = mktemp($template);
105 print "# MKTEMP: Tempfile is $template -> $tmpfile\n";
107 # Okay if template no longer has XXXXX in