Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: open undef shift

by almut (Canon)
on Oct 03, 2009 at 16:22 UTC ( [id://799029]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    open("/tmp/PerlIO_Ol6dlF", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
    ...
    Use of uninitialized value in open at ./799021.pl line 32.
    open("", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or 
    +directory)
    ...
    
  2. or download this
        As a special case the 3-arg form with a read/write mode and the
        third argument being "undef":
    ...
            open(TMP, "+>", undef) or die ...
    
        opens a filehandle to an anonymous temporary file.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2024-04-23 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found