Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: tempdir with template fails

by imp (Priest)
on Dec 03, 2006 at 00:39 UTC ( #587462=note: print w/replies, xml ) Need Help??

in reply to tempdir with template fails

From the perldocs for File::Temp:
Trailing `X' characters are replaced with random letters to generate the filename. At least four `X' characters must be present at the end of the template.
And the relevant code from the module:
# Do it using substr - no reason to use a pattern match since # we know where we are looking and what we are looking for if (substr($template, $start - MINX + 1, MINX) ne 'X' x MINX) { ${$options{ErrStr}} = "The template must contain at least ". MINX . " 'X' characters\n"; return (); }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587462]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2016-10-25 02:31 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.