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
[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
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
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
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
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
Does anyone have a recommended list of reading for someone, from a CGI
background, that wants to get into mod_perl2?
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