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

Re^3: Temp file strategy

by blazar (Canon)
on Sep 19, 2005 at 09:59 UTC ( #493110=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ strace -e open perl -e 'open $f, "+>", undef' 2>&1 | tail -n 1
    open("/tmp/PerlIO_vfNALU", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 
    +3
    
  2. or download this
    $ perl -le 'open $f, "+>", undef;
    print readlink "/proc/self/fd/" . fileno $f'
    /tmp/PerlIO_vJg2Uf (deleted)
    
  3. or download this
    $ perl -le 'open $f, "+>", undef;
    print readlink "/proc/self/fd/" . fileno $f'
    /tmp/.nfs0004821b00000353
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2019-10-15 06:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?