Re: mp2: utf-8 and uc() under modperl2

2006-05-27 Thread tomas
On Fri, May 26, 2006 at 11:44:29PM -0700, Jason Rhinelander wrote: > [EMAIL PROTECTED] wrote: [...] > It is, because in Perl stdin, stdout, and stderr are aliases for STDIN, > STDOUT, and STDERR [...] You're right. Sorry for the noise. Regards -- tomás signature.asc Description: Digital signat

Re: [mp2] is DIR_CREATE called for directives ?

2006-05-27 Thread Charles Bueche
Hi Geoffrey, oops, that was a typo, I meant DIR_MERGE in fact. But really, do I need a DIR_MERGE even to achieve the default behavior ? Charles On Sat, 2006-05-27 at 11:32 -0400, Geoffrey Young wrote: > > What do I do wrong ? Do I have to do something special when I register > > the new directi

Re: [mp2] is DIR_CREATE called for directives ?

2006-05-27 Thread Geoffrey Young
> What do I do wrong ? Do I have to do something special when I register > the new directives ? you mention DIR_CREATE in your subject - make sure you have a proper DIR_MERGE subroutine as well and it should all work out. --Geoff

[mp2] is DIR_CREATE called for directives ?

2006-05-27 Thread Charles Bueche
Hi, I'm defining my own directives to configure a perl module. I try to have the default behavior described in the doc 6.3.7 "child container inherits its parent configuration, unless it specifies its own and then overrides its parent configuration". My config stanza for the parent is : http://

Re: sharing data within a handler (but not across)

2006-05-27 Thread John ORourke
Jonathan Vanasco wrote: i specifically wanted to keep apache related stuff out of the model when designing it, but i was in the situation where i needed to access it for a quick hack ( i chose the longer elegant solution that negated touching it ) and said "hm... i wonder how could i do

Re: mp2: utf-8 and uc() under modperl2

2006-05-27 Thread Gunnar Koppel
Jason Rhinelander kirjutas: The script as above doesn't work out of the box -- the '$lc' variable isn't defined. Commenting out that line, I got the same results as you Yes, i took out some lines from my test script, which defined $lc, but forgot still this line. Oops. and eventually figu

Re: CGI -> mp2 -> Recommended Beginners guide

2006-05-27 Thread Enno
check out http://modperlbook.org/ eventhough its about mp1, it will still give you a lot of decent information. and there's ofcourse: http://httpd.apache.org/docs/2.0/ Enno On Fri, 26 May 2006, Michael Preslar wrote: > Does anyone have a recommended list of reading for someone, from a CGI > ba

Re: mp2: utf-8 and uc() under modperl2

2006-05-27 Thread Philip M. Gollucci
Jason Rhinelander wrote: Is it, then, intentional? You know, I'm not entirely sure, but I betting its because STDIN, STDERR, STDOUT are re-tied to the streams in the request object automagically for you in Registery/PerlRun under the 'perl-script' Handler. Under the mod_perl handler, these ar

Re: mp2: utf-8 and uc() under modperl2

2006-05-27 Thread Jason Rhinelander
Philip M. Gollucci wrote: >> It is, because in Perl stdin, stdout, and stderr are aliases for STDIN, >> STDOUT, and STDERR -- but that aliasing doesn't appear to be present >> under mod_perl. Now, perhaps it was intentional, but in that case it >> should at least be documented somewhere. > Feel fr