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

Re: sysseek and syswrite fails

by jakobi (Pilgrim)
on Oct 15, 2009 at 19:22 UTC ( [id://801416]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1> perl -e 'use IO::Handle; open(FH,">out"); FH->autoflush(1); 
                if(fork){
                            print FH "aaaa";     sleep 2; print FH "bbb"; 
    ...
                   sleep 1; print FH "1111"; seek FH,0,0; print FH "4"; 
                   close FH
                }'
    
  2. or download this
    2> perl -e 'use IO::Handle; open(FH,">out"); FH->autoflush(1); 
                if(fork){
                            print FH "aaaa";     sleep 2; print FH "bbb"; 
    ...
                   sleep 1; print FH "1111"; seek FH,0,0; print FH "4"; 
                   close FH1
                }'
    

Log In?
Username:
Password:

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

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

    No recent polls found