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

process synchronize.... Please help me out

by sandy1028 (Sexton)
on Apr 21, 2009 at 07:46 UTC ( [id://758896]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $log = IO::File->new(">$log_file_name");
    $log->print("date()."--\n\n\n");
    ...
      my ($sub_dir, $file, $config, $log) = @_;
      $log->print("-- Reading $file file\n");
    }
    
  2. or download this
     my $pm = new Parallel::ForkManager($tc+1);
        $pm->run_on_finish( sub { my ($pid, $exit_code, $ident) = @_; $tmp
    +Files[$ident] = undef; } );
    ...
          }
          $pm->finish; # Terminates the child process
        }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-17 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found