Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Just another Perl shrine
 
PerlMonks  

Re^11: [threads] Open a file in one thread and allow others to write to it

by ikegami (Pope)
on Nov 16, 2009 at 17:45 UTC ( #807525=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open LOG, '>', 'log.txt' or die $!;
    
  2. or download this
    use IO::Handle qw( );
    open LOG, '>', 'log.txt' or die $!;
    LOG->autoflush(1);
    
  3. or download this
    use Fcntl qw( :seek );
    seek(LOG, 0, SEEK_END);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-04-18 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls