socketpair - problem communicating to multiple subprocesses

2011-06-05 Thread Honza Mach
Hi everybody, I am currently working on a project and I need parent process to fork multiple children to do the actual work, but maintain a bidirectional communication with each of the children to send them commands and receive back, agregate and display summary results. According to the perlipc

Howto conjoin information from two hash tables?

2011-06-05 Thread Scottie
Hi! I'm stuck. Can you help me? After the backup by Oracle RMAN tool I parse the log file and create two hash tables: %channel = #It collects information specific to channels {ch1} ->[0] allocated channel: ch1 ->[1] channel ch1: SID=596 device type=DISK ->[2] channel c

Re: socketpair - problem communicating to multiple subprocesses

2011-06-05 Thread Uri Guttman
> "HM" == Honza Mach writes: HM> my ($child, $parent); HM> foreach my $i (1..3) HM> { HM> socketpair($child, $parent, AF_UNIX, SOCK_STREAM, PF_UNSPEC) HM> or die "socketpair: $!"; you are using the same variables to store each socketpair in the loop. so that will close

Re: practical perl guides

2011-06-05 Thread Michiel Beijen
Hi On Wed, Jun 1, 2011 at 10:40, Erez Schatz wrote: > You don't need Microsoft Visual Studio to install perl modules. I will > go on a limb and assume here you're thinking of using MS Visual C > compiler to compile perl and subsequent c modules, but even that's not > necessary, as you could use M

Re: Relative URIs in served pages

2011-06-05 Thread John Delacour
At 22:33 -0400 04/06/2011, Brandon McCaig wrote: On Fri, Jun 3, 2011 at 1:14 PM, John Delacour wrote: I made it clear that I am serving the page dynamically from cgi-bin. Here is an example: That part is irrelevant though because the image file is loaded by the user agent AKA Web browser.

Re: Howto conjoin information from two hash tables?

2011-06-05 Thread C.DeRykus
On Jun 5, 2:30 am, scottie...@gmail.com (Scottie) wrote: > Hi! > I'm stuck. Can you help me? > > After the backup by Oracle RMAN tool I parse the log file and create > two hash tables: > > %channel =  #It collects information specific to channels >  {ch1} >     ->[0]   allocated channel: ch1 >    

how to clear the cache inside the module use Math::Combinatorics;

2011-06-05 Thread eventual
Hi, Looking at the combination script below, what must I do so that the output of Round 1, Round 2 and Round 3 are identical. Thanks.   # script below ###    #!/usr/bin/perl use strict; use warnings; use Math::Combinatorics; {