Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587462]
help
Chatterbox?
[james28909]: thanks
[james28909]: what i am trying to do is track state of a chat based application. i need to be able to store the channels and such for a user, and when they join a new server/channel i need to be able to update that feild.
[james28909]: do you think OO would best suite that?
[karlgoethebier]: james28909: The last two are not mainstream. You have been warned ;-)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2017-05-25 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?