I have follow simple script:
!#/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Counter: " . (++$counter) . "\n";
print time(), "\n";
sleep(20);
print time(), "\n";
Starting that script twice in two different browser windows gives me same
results. In second window I start script afte
Hi.
This is probably a question better asked to the perl monks or similar,
but if there are any of them lurking around here, it would save me a
subscription.
In various programs, I do a lot of printing, for results or for logging.
Really many print statements, in forms such as :
print OUT "$
> This is probably a question better asked to the perl monks or similar,
> but if there are any of them lurking around here, it would save me a
> subscription.
it's a subscription worth having :) I've learnt more about Perl since
I've been there than in the preceding decade.
> Now, my question
CthuMP wrote:
>
> Starting that script twice in two different browser windows gives me same
> results. In second window I start script after some period (about 10
> seconds) after first script started. First and Second scripts ends at the
> same time.
>
I have solved that problem.
If someone i
CthuMP wrote:
I have follow simple script:
!#/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Counter: " . (++$counter) . "\n";
print time(), "\n";
sleep(20);
print time(), "\n";
Starting that script twice in two different browser windows gives me same
results. In second window I st
CthuMP wrote:
CthuMP wrote:
Starting that script twice in two different browser windows gives me same
results. In second window I start script after some period (about 10
seconds) after first script started. First and Second scripts ends at the
same time.
I have solved that problem.
If someo
It's quite simple really. You're running 2 instances of the script. To
retain the value of $counter, read up the mod_perl documentation for tips.
CthuMP wrote:
I have follow simple script:
!#/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Counter: " . (++$counter) . "\n";
print tim
2008/10/13 Fred Moyer <[EMAIL PROTECTED]>
> Felipe de Jesús Molina Bravo wrote:
>
>>
>>maybe is important to say how compile apache and modperl
>>(it was very difficult):
>>
>>
>>Can you try compiling mod_perl as a shared object? Static module
>>support for mp2 is no
Second question about childs. I not fully understand, how childs work.
In a little bit more details :
When you start Apache, one single process is started.
That's what you can call the "main" Apache.
It reads and checks the configuration, and bombs out if anything is wrong.
If nothing is wron
On Wed, Oct 22, 2008 at 5:28 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> another one I haven't tried
how about an Inline::C function that wraps printf and takes $var2 as
an argument, and another that takes $var1 as an argument which
overwrites the static buffer allocated for the format string?
Hi All. I've googled tons and searched the list and can't seem to find an
answer to my problem.
I am trying to install libapreq 1.33 on OS X Leopard. I have successfully
compiled and installed Apache 1.3 with mod_perl 1.3 statically linked. That
seems to work fine. I can start apache and the log fi
On Wed, Oct 22, 2008 at 6:28 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> I would not ask, if there were not sometimes really many of these being
> executed over and over again. I figure it may be worth knowing if one of
> the forms above (or another one I haven't tried) is really better than
>
Hello all,
Today I tried to limit access to phpMyAdmin using my own Authen.pm
module. It works well but not always. Looks like phpMyAdmin has
problems with HTTP post method if I enable my PerlAuthenHandler
Authen.pm. Otherwise phpMyAdmin and Authen.pm work well.
The error I get in phpMyAdmin is:
Usually, if you run into problems that only affect POST requests, that
means that somewhere earlier in the apache cycle there is something
consuming the posted data. Looking at the code you've posted though,
it's not immediately obvious that that is the problem, nor is it obvious
that it's act
Hi All,
wondering who is going to present at the Apache US 2008 conference in
New Orleans.
I'll be there 11/2 - 11/9
--
Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc. http://p6m7g8.net
S
Philip M. Gollucci wrote:
> Hi All,
>
> wondering who is going to present at the Apache US 2008 conference in
> New Orleans.
>
> I'll be there 11/2 - 11/9
>
I'm presenting on wednesday afternoon:
http://us.apachecon.com/c/acus2008/sessions/4
--Geoff
Geoffrey Young wrote:
Philip M. Gollucci wrote:
Hi All,
wondering who is going to present at the Apache US 2008 conference in
New Orleans.
I'll be there 11/2 - 11/9
I'm presenting on wednesday afternoon:
http://us.apachecon.com/c/acus2008/sessions/4
Looking forward to seeing this pres
You are right. In Datajoy::Application I was using CGI.pm. Removing
"new CGI" code from Application.pm solved the problem.
Thank you for your help.
Best regards,
Miha
On Wed, Oct 22, 2008 at 8:49 PM, Adam Prime <[EMAIL PROTECTED]> wrote:
> Usually, if you run into problems that only affect POST
18 matches
Mail list logo