Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Alternate command for tmpnam

by Discipulus (Canon)
on Sep 01, 2021 at 07:20 UTC ( [id://11136328]=note: print w/replies, xml ) Need Help??


in reply to Alternate command for tmpnam

Hello kishore05 and welcome to the monastery and to the wonderful world of perl!

Please follow Corion's advice and also, please put <code> ..</code> tags around your snippet.

You can also be interested into sysopen function in junction with O_CREAT flag: you can cycle various file names until it returns not an error.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-19 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found