RE: Need help, Global Hash corruption under mod_perl in perl 5.8.0!?!

2003-07-20 Thread Влад Сафронов
I have done code deparsing of eperl scripts saved in Cache all started with package Parse::ePerl; use strict 'refs'; print(qq[\n]); so they all have the same package name. Can it cause a bug? Ap::Registry keeps different package name for every script.. > -Origi

RE: Need help, Global Hash corruption under mod_perl in perl 5.8.0!?!

2003-07-20 Thread Влад Сафронов
We had recompiled ePerl for 5.8.0 and mod_perl (1.27 and later 1.28) statically linked with Apache with default options (does it include threads?) I'm using only Apache::ePerl which allows me use Perl in the the way like PHP, since I don't need Mason or EmbPerl html features for small WAP resource

Re: Calling a mod_perl method from whithin a CGI script

2003-07-20 Thread Stas Bekman
Eric Ricardo Anton wrote: I have started using Apache::AuthCookie, which runs under mod_perl, for authentication. The problem is that the whole website I’m working on is based on mod_cgi. I need the CGI scripts to call a mod_perl method in order to recognize the user that is logged in.

RE: templating system opinions

2003-07-20 Thread Cameron B. Prince
> Just wondering what the best templating system is to use > and/or learn. Hi, I'm just wondering why no one recommended Embperl. Like Mason, it's more than a templating system, but I find it's inheritance features great. I'm using it for a personal project and haven't really checked it's perfor

Re: does pnotes() work at all in 1.27? [RESOLVED]

2003-07-20 Thread Mark Maunder
An upgrade to 1.28 fixed this. Never found out what caused it under 1.27. On Sat, 2003-07-19 at 13:20, Mark Maunder wrote: > Hi. This is a rather comprehensive (read 'cathartic') message, so if you > have something productive to go and do, then you'd probably be better > off doing that. For all ot

Re: templating system opinions

2003-07-20 Thread Dave Rolsky
On Sun, 20 Jul 2003, Jamie Lawrence wrote: > Mason isn't fast. It is, however, fast enough for high volume sites - > that I will assert. Sure, amazon.com among them. > From my view, the utility of autohandlers and dhandlers, in terms of > code written vs. cost and time, is an enormous win. Add t

Re: ANNOUNCE: Apache::Dynagzip 0.10

2003-07-20 Thread Slava Bizyayev
Your own content-type is supposed to be overwritten only in case of the use of PerlSetVar UseCGIHeadersFromScript Off in your configuration file. You might wish to comment this line in your configuration file when your script generates correct header line in accordance with CGI/1.0 and/or CGI/1.1

Re: ANNOUNCE: Apache::Dynagzip 0.10

2003-07-20 Thread John Siracusa
Why does Apache/Dynagzip.pm call $r->content_type('text/html') in several places? My apache module earlier in the Apache::Filter chain sets $r->content_type to something else, but it then gets overridden by Dynagzip.pm. If I comment out all the calls to $r->content_type('text/html') in Dynagz

Re: templating system opinions

2003-07-20 Thread Dave Rolsky
On Sun, 20 Jul 2003, Patrick Galbraith wrote: > I've been working at Classmates.com for a couple months contracting, and > they use Text::Forge. > > I've been impressed by the performance, and wish it was a big player. > Part of the reason it isn't is guys like me should contribute to it and > mak

ANNOUNCE: Apache::CompressClientFixup 0.07

2003-07-20 Thread Slava Bizyayev
This version is all about the unnecessary warnings on some systems. Thanks to Rob Bloodgood, who complained about "uninitialized value" warnings from unused HTTP headers and provided a patch. It is not necessary to upgrade immediately (from the version 0.06) unless you suffer from the mentioned w

ANNOUNCE: Apache::Dynagzip 0.10

2003-07-20 Thread Slava Bizyayev
This version is all about the unnecessary warnings on some systems. Thanks to Rob Bloodgood and Damyan Ivanov those complained about "uninitialized value" warnings from unused HTTP headers, and about the pack mode "c", which generated warnings in logs on their systems (running -w). Everyone provid

Re: [mp2 Patch] BUG with mod_deflate and $|=1 (20014:Error string not specified)

2003-07-20 Thread Slava Bizyayev
It is supposed to be something like the following: C05 --> S06 GET /html/wowtmovie.html HTTP/1.1 C05 --> S06 Accept: */* C05 --> S06 Accept-Language: en-us C05 --> S06 Accept-Encoding: gzip, deflate C05 --> S06 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) C05 --> S06 Host

Re: [mp2 Patch] BUG with mod_deflate and $|=1 (20014:Error string not specified)

2003-07-20 Thread Bill Marrs
At 11:07 AM 7/19/2003, Slava Bizyayev wrote: May I see your client side HTTP log of the request-response transaction through mod_cgi vs. mod_perl? I'm not sure what you mean. Do you mean my access_log? I have a deflate_log as well (that shows the compression stats as well). But, maybe you're t

[QUESTION] Can't read out verified username (auth)

2003-07-20 Thread Fatih Gey
Hi, i was writing my own AuthHandler with modperl v2 (v1.99_09). Getting the Username/Password-Pair from an html-form (submit via post) and finally checking it against an mysql-table works fine so far. When the authentification have taken place.. the username should be reminded in any way, so the

Calling a mod_perl method from whithin a CGI script

2003-07-20 Thread Eric Ricardo Anton
I have started using Apache::AuthCookie, which runs under mod_perl, for authentication. The problem is that the whole website I’m working on is based on mod_cgi. I need the CGI scripts to call a mod_perl method in order to recognize the user that is logged in. Since I can't port the scripts f

caching questions

2003-07-20 Thread Patrick Galbraith
Today I just looked at Apache::Session, and just realised I spent the last couple weeks coding what it does, more or less. I'm not sure If I should use what I wrote, or it. One thing that my code does is check to see if it's cache has been updated to the db, which I wish I could really have some so

Re: [mp2] BEGIN blocks

2003-07-20 Thread Stas Bekman
Issac Goldstand wrote: I seem to be having some trouble that I think may be associated with BEGIN blocks. To make sure I'm not jumping at shadows, could someone tell me what the expected behavior of BEGIN blocks in use()d modules is? How many times are they called (during server startup and/or re

Re: MP2 variables

2003-07-20 Thread Stas Bekman
[redirecting to the modperl list, as others will want to know the answer as well] Hi Jamie, What is the MP2 equivalent of $Apache::ServerStarting? I'm trying to get Apache::DBI working with MP2. % grep Server::Starting todo/* todo/deprecated_features.txt:- $Apache::Server::Starting, $Apache::Ser

Re: templating system opinions

2003-07-20 Thread Patrick Galbraith
I've been working at Classmates.com for a couple months contracting, and they use Text::Forge. I've been impressed by the performance, and wish it was a big player. Part of the reason it isn't is guys like me should contribute to it and make it a bigger player. I really like the syntax - it lo

Re: templating system opinions

2003-07-20 Thread Jamie Lawrence
On Sun, 20 Jul 2003, Dave Rolsky wrote: > Actually, H::T is almost certainly _much_ faster and less RAM-intensive > than Mason, at least when you measure the time it takes to serve a single > page/component. OTOH, if you were to try to replicate some of Mason's > more powerful features with H::T,

Re: templating system opinions

2003-07-20 Thread Ruslan U. Zakirov
>> Barry Hoggard wrote: >> I used to use HTML::Template for projects, but I moved to >> Template::Toolkit because I felt the former's syntax was just too >> limited. I know we want to separate code and logic, but H::T >> keeps me [skip] JE> Jesse Erlbaum JE> Programmer: Get object, Get objec

Re: templating system opinions

2003-07-20 Thread Dave Rolsky
On Sun, 20 Jul 2003, Jamie Lawrence wrote: > H::T is much more programmer-centric. In a lot of contexts, that makes > sense. Informally (as in, I haven't done a systematic comparison), it is > also faster than Mason. Mason isn't slow, but if you need every last > gram of performance, well, you pro

Re: templating system opinions

2003-07-20 Thread Jamie Lawrence
On Fri, 18 Jul 2003, Dave Rolsky wrote: > On Fri, 18 Jul 2003, Patrick Galbraith wrote: > > > TT was ok, but it did use a bunch of ram ;) > > So does Mason. HTML::Template is no doubt much leaner, but it's also lean > on features. Nothing wrong with that if it suits your needs, though. > > Mo

RE: templating system opinions

2003-07-20 Thread Cameron B. Prince
> Just wondering what the best templating system is to use > and/or learn. Hi, I'm just wondering why no one recommended Embperl. Like Mason, it's more than a templating system, but I find it's inheritance features great. I'm using it for a personal project and haven't really checked it's perfor