Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: sysopen vs. open

by tilly (Archbishop)
on May 15, 2009 at 15:25 UTC ( [id://764287]=note: print w/replies, xml ) Need Help??


in reply to Re: sysopen vs. open
in thread sysopen vs. open

Why do you want to have a file that you know you just created? Most of the time when I want that I really want File::Temp. For locking you have other options available, including flock. You can complain that flock often doesn't work well over networked file systems. But sysopen also doesn't work well on those systems.

So yes, there is a task that you can do with sysopen that you can't with open. But I have yet to encounter a situation where I thought that sysopen was the best option.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-25 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found