Ok! Thanx! I found the bug :-)
Try to install the AUTOLOAD sub and trace the calls:
use Carp;
sub AUTOLOAD{
Carp::cluck("trying to load $AUTOLOAD");
}
at least you will figure out where the sub is called from. It looks
What about this idea:
open N 'ispell -a' processes for writing and reading at httpd start up,
save their descriptors into an array in some Perl module and then
mark decriptors in the table then as "busy" or "idle". But the question
is how to share this dynamicly modified table among all httpd
Hi,
I've just finished a simple web based spellcheck application
based on ispell, it's written as perl module which just call
ispell on every request (actually keeps it open afert first request).
The bad thing is N users used spellcheck there are N running
useless ispells and it is not good I
I swear, I searched CPAN before posting the question to the conference and I
used Lingua::Ispell
in my application. But Lingua::Ispell just opens 'ispell -a' on reading and
writing for every new httpd process, so it take time to open dictionaries or
switch to other language dictionary.
It provide
Hi,
I use ePerl and it's good, but some things need better performance.
Is there any "chtml" compiler that allow me freely mix C and html code
just like in ePerl:
HTML code
%
C code ..
%
HTML code
%=(C expr.)%
..
Vlad.
-
To
Hi,
I know it's very OT, but don't kick me I just need advice.
I am going to work in a Web Company to write some mod_perl apps.
They gave me a contract (I think the terrible one) which
contains paragraph (among the others) that signs the rights to all
inventions over to them.
The problem is ..
, September 29, 2000 4:32 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [OT] advice needed.
Vladislav Safronov wrote:
I am going to work in a Web Company to write some mod_perl apps.
They gave me a contract (I think the terrible one) which
contains paragraph (among the others) that signs the rights
Hi,
After user request my script should say that the request is accepted and
continue processing user data (it takes a time) so I want to tell the
browser
that all data is sent. I searched mod_perl guide but I didn't find such code
snippet.
Could you send me such example?
==
Vlad.
I read the guide and I think the best is just add "" :)
(how could I forget it!)
..
system("myprog la la ");
print "/html";
# end
On Thu, 14 Sep 2000, Matt Sergeant wrote:
On Thu, 14 Sep 2000, Matt Sergeant wrote:
On Thu, 14 Sep 2000, Vladislav Safronov wrote:
I read the guide and I think the best is just add "" :)
(how could I forget it!)
..
system("myprog la la ");
print "/html";
# end
True, but what happens if your program tries to print
On Tue, Aug 15, 2000 at 03:26:03PM +0400, Vladislav Safronov wrote:
Hi,
Could you have a look at the lines and answer the question ..
---
sub foo {
my $dbh = shift;
my $sql = ...
my $sth = $dbh-prepare($sql);
$sth-execute;
$sth-finish
Hi!
;) see the benchmarks http://www.chamas.com/bench/index.html
/Vlad
Can anyone say some words about perfomance issues of Embedded
Perl - ePerl
(don't mix up with HTML::Embperl). I mean running under mod_perl using
Apache::ePerl. Maybe anyone has done some perfomance testing?
Thanx
Well, summarizing all the answers and assuming using Mysql
1. $sth-finish should be used if (and ONLY if) the
the returned data (any SELECT, but not INSERT, UPDATE?)
has not been fetched ALL and $sth is going to be
overwritten..
2. $sth (defined as 'my') should not call finish before
Hi,
Could you have a look at the lines and answer the question ..
---
sub foo {
my $dbh = shift;
my $sql = ...
my $sth = $dbh-prepare($sql);
$sth-execute;
$sth-finish;
}
===
Do I always need to call $sth-finish? Wouldn't it be automaticly called
when
sub
On Tue, 15 Aug 2000, Vladislav Safronov wrote:
Hi,
Could you have a look at the lines and answer the question ..
---
sub foo {
my $dbh = shift;
my $sql = ...
my $sth = $dbh-prepare($sql);
$sth-execute;
$sth-finish;
}
===
Do I always need
Ok. I think, the answers clear the problem, but I have yet more question.
What can you say about this code? is it ok (overwriting previous handle)?
==
sub foo {
my $dbh = shift;
my $sql1 = "select *...
my $sql2 = "select *...
my $sth = $dbh-prepare($sql1);
Hi,
Is there way for processing SSI commands in perl?
(my templates may contains SSI commands, so what
should I do - just type in real html or process them somehow?)
Check out Apache::SSI. It can solve the problem. Can be used with
Apache::Filter or by instantiating an Apache::SSI
Hi,
Is there way for processing SSI commands in perl?
(my templates may contains SSI commands, so what
should I do - just type in real html or process them somehow?)
/Vlad
Hi,
Does __END__ directive at the end of every mod_perl script
reduce memory used by httpd ?
Best regards,
/Vlad
Ok !
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 23, 2000 2:02 PM
To: Vladislav Safronov
Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: RE: Highly optimized mod_perl ?
Hi, ( ili privet )
I was looking any tips and tricks
Hi,
Try http://www.comptek.ru/yandex/YandexFree.html
search engine for web servers with highlighting searched words...
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 04, 2000 2:10 PM
To: Matt Sergeant
Cc: mod_perl list
Subject: Re: search
Hi!
Does anyone know the way to highly optimize mod_perl for speed?
Any hacks, advices? All standard advices read from help are done...
Best regards,
Vlad Safronov,
mailto: [EMAIL PROTECTED]
22 matches
Mail list logo