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

2006-05-26 Thread Philip M. Gollucci
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 free to supply a documentation patch and

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

2006-05-26 Thread Jason Rhinelander
[EMAIL PROTECTED] wrote: >> makes it work properly. This seems to me like a bug, but perhaps >> someone more familiar with mod_perl's STDOUT tying than I can explain >> this (or confirm this as a bug). > > Duh. Sorry I didn't see that before. In Perl, the file handles for > stdin, stdout and stde

sharing data within a handler (but not across)

2006-05-26 Thread Jonathan Vanasco
long story short: i built my own mvc framework. 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

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

2006-05-26 Thread tomas
On Fri, May 26, 2006 at 02:56:17PM -0700, Jason Rhinelander wrote: > Gunnar Koppel wrote: [...] > > I have little problem with UTF-8 under modperl2. I made such little > > script for testing: [...] > > binmode stdin, ":utf8"; > > binmode stdout, ":utf8"; [...] > binmode STDOUT, ":utf8"; > > makes

Re: [mp2] 'Can't Load...' PerlRequire error for Apache2.2

2006-05-26 Thread Randy Kobes
On Thu, 25 May 2006, Simon Wray wrote: Hi all... I'm hoping you can help me with a problem I have configuring mod_perl2. I'm completely new to Apache & Perl and am attempting to use them on an office XP SP2 machine so I can load the ASP.Net module and try that out. I'm mainly a VB, HTML & CSS p

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

2006-05-26 Thread Jason Rhinelander
Gunnar Koppel wrote: > Terr! > > I have little problem with UTF-8 under modperl2. I made such little > script for testing: > > --- > #!/usr/bin/perl > > use strict; > use locale; > use utf8; > binmode stdin, ":utf8"; > binmode stdout, ":utf8"; > > my @alpha = qw(a b c d e f g h i j k l m n

CGI -> mp2 -> Recommended Beginners guide

2006-05-26 Thread Michael Preslar
Does anyone have a recommended list of reading for someone, from a CGI background, that wants to get into mod_perl2?

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

2006-05-26 Thread Gunnar Koppel
Addition: Seems, that under modperl2 are 4 problematic characters (õ [otilde] ä [auml] ö [ouml] ü [uuml]) converted to ISO8859-x charset. And i can't avoid it. Why are they converted and how to keep them as UTF? -- Best regards, Kõike hääd, Gunnar Koppel