RE: Concurrency problem

2003-01-28 Thread NYIMI Jose (BMB)
Your input is appreciated ! José. > -Original Message- > From: david [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 8:16 PM > To: [EMAIL PROTECTED] > Subject: RE: Concurrency problem > > > Nyimi Jose wrote: > > > > > #!/usr/b

Re: Concurrency problem

2003-01-27 Thread Janek Schleicher
On Mon, 27 Jan 2003 12:21:02 +0100, Enric Roca wrote: I don't see any real concurrency problem in your script, but I'm also not a concurrency expert. However, I believe, I can help you to write your script more Perlish :-) > This is the script: > > > #!/usr/local/bin/perl use strict; use warni

RE: Concurrency problem

2003-01-27 Thread david
Nyimi Jose wrote: > > #!/usr/bin/perl -w > use strict; > use Proc::ProcessTable; > use File::Basename; > > my $is_running=&a_check_subroutine(); > sleep (60) if $is_running;#sleep 60 seconds > > sub a_check_subroutine{ > my $script=quotemeta File::Basename::basename($0); > my $t = new Proc::Pro

RE: Concurrency problem

2003-01-27 Thread NYIMI Jose (BMB)
> -Original Message- > From: Enric Roca [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 4:09 PM > To: NYIMI Jose (BMB); Beginners Perl > Subject: RE: Concurrency problem > > > José, > > Thanks for the info, but forget that I'm using pi

RE: Concurrency problem

2003-01-27 Thread Bob Showalter
Enric Roca wrote: > Hello, > > We are using Apache 1.3.26, Perl 5.5.3 and perl-cgi scripting to > communicate to applications with XML. App1 calls the cgi script that > is placed in the other machine. The script reads the XML message and > pass it to pipe1. This message is processed by App2 and a

RE: Concurrency problem

2003-01-27 Thread Enric Roca
would solve my problem. Regards, Enric - Mensaje original - De: "NYIMI Jose (BMB)" <[EMAIL PROTECTED]> Para: "Enric Roca" <[EMAIL PROTECTED]>; "Beginners Perl" <[EMAIL PROTECTED]> Enviado: lunes 27 de enero de 2003 15:09 Asunto: RE: Concurre

RE: Concurrency problem

2003-01-27 Thread NYIMI Jose (BMB)
Also communicating applications via XML sounds like a job for SOAP ... http://cookbook.soaplite.com/#soap%20cookbook José. > -Original Message- > From: Enric Roca [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 27, 2003 12:21 PM > To: Beginners Perl > Subject: Concurrency problem >

RE: Concurrency problem

2003-01-27 Thread NYIMI Jose (BMB)
Sorry :) but your script seems not doing what you explained above. I have the impression that your problem is not related to a concurrency problem. Could you send a more detailed code, please? José. Anyway, here some reads from Perl Cookbook : 16.11. Making a Process Look Like a File with Named