On Wednesday 12 June 2002 4:09 am, Rob Nagler wrote:
> Matt Sergeant writes:
> > There's quite a few things that are a lot harder to do with XML in
> > plain perl (especially in SAX) than they are in XSLT.
>
> This assumes you need XML in the first place.
No, it does not. The rest of my post spok
General ideas are in Stas' introduction and other mod_perl books. Here are
some practical numbers which may be useful for your reference. (assuming
that all your servers have 1G RAM)
1) when daily unique IP are about 25K. Run mod_perl on the database machine
with persistent Apache::DBI database
will wrote:
> I am trying to install mod perl as part of Apache-ASP and am stuck at the
> following error:
>
>
>>Apache.exe -k start
are you mixing Apache 2.0 with mod_perl 1.0? -k is an Apache 2.0 option
whenever reporting problems you have to tell us what you are doing and
what versions you
Bill O'Hanlon wrote:
> (Apologies if you see this twice -- I sent it from an unsubscribed
> email address first.)
>
>
> Hi folks,
>
> I just ran down a problem that was somewhat hard to find, and I didn't see any
> mention of anything like it in the archives anywhere. I thought it might be
> h
steve wrote:
> Hey people..
>
> Wondering if someone could help me with this...
Please do not repost your question 3 times!
> I recently started using modperl2/apache2. Everything seems to work ok
> except for Apache's error logging.
> I don't seem to get my apache stderr untill I shutdown/re
> Gerald Richter wrote:
> > Embperl 2.0 can invoke such a controller (it's called application object
> > there) after it has setup it's request parameters (GET/POST data,
session
> > data, etc.) and before any templates are get a chance to run.
>
> That sounds like a good addition to Embperl. Can
Jeff AA writes:
> Sounds interesting, can you briefly describe the MVCF parts, and what
> their responsibilities are?
http://www.bivio.biz/hm/why-bOP contains a decent explanation of how
we think about MVC. There's also a talk with notes:
http://www.bivio.biz/hm/csci7818-bop-intro/intro
> Have
>> I was thinking about doing a mod_perl Obfuscation for some time, and
>> today I
>> found some time and wrote up something .. It's not that much obfusacated,
>> but it looks nice (mod_perl in ASCII art) and works (see the POD after
>> the
>> code..)
> tres cool.
yes, very cool Thomas, looks
Matt Sergeant writes:
> There's quite a few things that are a lot harder to do with XML in
> plain perl (especially in SAX) than they are in XSLT.
This assumes you need XML in the first place.
It's trivial to manipulate Perl data structures in Perl. It's
also easy to manipulate XML in Perl. Ho
(Please disregrard previous message I hit send
prematurely...)
I'm writing again about the problem I was having
yesterday with modules being
unable to set their own custom directives.
This is becoming my own private
nightmare, and I am certain it is the result of a
very stupid move I
Hi,
>Hi,
> All this talk of MVC and a universal despatch mechanism has
>started me thinking about Java Web Applications and how they are bundled
>into a standard configuration (e.g., Java's Servlet standard 2.3)
>
> Would such a standard (albeit optional) be useful for mod_perl2?
I think it
I'm writing again about the problem I was having
yesterday with modules being
unable to set their own custom directives.
This is becoming my own private
nightmare, and I am certain it is the result of a
very stupid move I made: somehow
in my initial grapplings, I upgraded from what I
though
Thomas Klausner wrote:
> Hi!
>
> Concerning the yearly "what to put on the t-shirts"-discussion...
ah, yes... :)
>
> I was thinking about doing a mod_perl Obfuscation for some time, and today I
> found some time and wrote up something .. It's not that much obfusacated,
> but it looks nice
OK, until I can decide whether to take a chance on FreeBSD-current
or to convince my employers who were so enamored of FreeBSD that
we should rebuild the server with Linux, I'm going prefork.
It still doesn't work precisely as it should though. I decided
to go with the cvs builds of apache and
Hi!
Concerning the yearly "what to put on the t-shirts"-discussion...
I was thinking about doing a mod_perl Obfuscation for some time, and today I
found some time and wrote up something .. It's not that much obfusacated,
but it looks nice (mod_perl in ASCII art) and works (see the POD after the
Hello all
I'm forwarding this to the AxKit and mod_perl lists - sorry for being
that late, hope it's not too late for anyone who wants to
participate. I'm thinking about visiting the event myself, if not
speaking, but I've already had a talk this March in Zurich (badly
prepared and unfinished
As Jarkko and Nick have pointed out, line numbering is off. I cannot
find out why this is the case, the sources *are* from 17165 as I can
verify via Apache::Status.
> On Tue, 11 Jun 2002 08:23:18 -0700 (PDT), Doug MacEachern <[EMAIL PROTECTED]>
>said:
doug> On Tue, 11 Jun 2002, Andreas J.
here is a stretch
"mod_perl, MODe opPERLtunity"
"mod_perl. one thing you cannot FOO::BAR (but you could (objectively, of
course!))"
"mod perl. scrumpt-diddly-delicious."
: -Original Message-
: From: Alfred Vahau [mailto:[EMAIL PROTECTED]]
: Sent: Tuesday, June 11, 2002
Gerald Richter wrote:
> Embperl 2.0 can invoke such a controller (it's called application object
> there) after it has setup it's request parameters (GET/POST data, session
> data, etc.) and before any templates are get a chance to run.
That sounds like a good addition to Embperl. Can you give a
On Tue, 11 Jun 2002, Sam Tregar wrote:
> > I thought about this, and i'm wondering how much ppl realy use it in
> > this way. IMHO it should be a "Don't try this, it will break", instead
> > introducing this copy-"workaround". But i think i will use this patch
> > only for my private-version,
May I suggest a camel with the wings of an eagle or a double humped eagle???
The two icons are associated with the two invaluable references of the Perl
world and somehow the
design must incorporate them. I'm not about to suggest which creature gets
the prominence.
Final point:
I'm 10 hrs ahead
On Tue, 11 Jun 2002, Nico Erfurth wrote:
> I thought about this, and i'm wondering how much ppl realy use it in
> this way. IMHO it should be a "Don't try this, it will break", instead
> introducing this copy-"workaround". But i think i will use this patch
> only for my private-version, because
On Tue, 11 Jun 2002, Sam Tregar wrote:
> On Tue, 11 Jun 2002, Nico Erfurth wrote:
>
> > It changes the way arrays/loops are handled.
> > 1.) If you pass in a array-reference, it will be not dereferenced anymore
> > I did this, so i can use a small Wrapper-class, which allows me to
> >
On Tue, 11 Jun 2002, Paul G. Weiss wrote:
> I suspect that pre-fork would work too, but I'm desparately
> trying to get threads working.
you should try a different os then. i'm sitting next to the guy who wrote
worker mpm, he says the freebsd thread library does not work well enough
for use
On Tue, 11 Jun 2002, Nico Erfurth wrote:
> It changes the way arrays/loops are handled.
> 1.) If you pass in a array-reference, it will be not dereferenced anymore
> I did this, so i can use a small Wrapper-class, which allows me to
> tie a database-statement to an array, and returning th
Hi,
some weeks ago i did a little "improvement" to HTML::Template, at least i
think it is a improvement ;)
It changes the way arrays/loops are handled.
1.) If you pass in a array-reference, it will be not dereferenced anymore
I did this, so i can use a small Wrapper-class, which allows me to
On Tue, Jun 11, 2002 at 08:23:18AM -0700, Doug MacEachern wrote:
> On Tue, 11 Jun 2002, Andreas J. Koenig wrote:
>
> > PAUSE is suffering from a SEGV since I installed RC1. After I upgraded
> > yesterday to snapshot 17165 I finally caught the following within gdb.
There was something funky with
Hey people..
Wondering if someone could help me with
this...
I recently started using modperl2/apache2.
Everything seems to work ok except for Apache's error logging.
I don't seem to get my apache stderr untill I
shutdown/restart the server. Then it prints out the whole
thing in one big
I am trying to install mod perl as part of Apache-ASP and am stuck at the
following error:
>Apache.exe -k start
Can't locate Cwd.pm in @INC (@INC contains: .) at (eval 1) line 1.
I've searched the web and haven't found any solutions.
I have checked the perl @INC using 'perl -V' and the path to C
- Original Message -
From: steve
To: [EMAIL PROTECTED]
Sent: Sunday, June 09, 2002 7:42 AM
Subject: Apache Error Log
Hey people..
Wondering if someone could help me with
this...
I recently started using modperl2/apache2.
Everything seems to work ok except for Apache's error l
(Apologies if you see this twice -- I sent it from an unsubscribed
email address first.)
Hi folks,
I just ran down a problem that was somewhat hard to find, and I didn't see any
mention of anything like it in the archives anywhere. I thought it might be
helpful to mention the details in case
Hey people..
Wondering if someone could help me with
this...
I recently started using modperl2/apache2.
Everything seems to work ok except for Apache's error logging.
I don't seem to get my apache stderr untill I
shutdown/restart the server. Then it prints out the whole
thing in one big b
Two good books could be written on these subjects:
* Mastering Design Patterns with Perl (I understand that Mastering
Algorithms with Perl sells quite well)
* Rapid Web Application Development with Perl
The second one would describe the various application frameworks available,
and related tool
Hi
I have the simplest test case of a mod perl module which is
using Rec::Descent module to parse some string. I can run
the script on command line so there is no problem with the
script but when run via web server as a mod_perl module, I
get an error in the error_log :
[Tue Jun 11 14:25:27 2002
> >
> > [% Ctrl.Search() %]
> >
> > makes Controller::Search any less a controller.
>
> You're right. It just looks kind of odd to me, invoking a template for
> something that is not a display-related task. It looks like the way
> people typically do MVC in Mason or Embperl, with a first templat
At 01:01 PM 06/11/02 -0400, John Siracusa wrote:
>On 6/11/02 12:46 PM, Perrin Harkins wrote:
>> John Hurst wrote:
>>> Still, I don't think that replacing this:
>>>
>>>
>>>SetHandler perl-script
>>>PerlHandler Controller::Search
>>>
>>>
>>> with this:
>>>
>>> [% Ctrl.Search() %]
>>>
Title: RE: AuthenNTLM, IE, KeepAlives, Post?
Ged,
Will this help even when I am not up loading files?
Here is the test.pl script I am using.
#!/usr/bin/perl
require CGI;
use strict;
my $q = new CGI;
print $q->header;
print <
EODUMP
print $q->param('foo');
p
On Tue, 11 Jun 2002, John Siracusa wrote:
> > You're right. It just looks kind of odd to me, invoking a template for
> > something that is not a display-related task. It looks like the way
> > people typically do MVC in Mason or Embperl, with a first template that
> > doesn't do anything but i
Nigel Hamilton <[EMAIL PROTECTED]> wrote:
> Would such a standard (albeit optional) be useful for mod_perl2?
I don't think so. Let me explain a bit.
Over time, the modules on CPAN have become higher level and more
complex, almost resembling applications in their own right. Yet they
are
On Wed, 12 Jun 2002, Stas Bekman wrote:
> so the problem that I see on linux is unrelated?
dunno, i built with -Duseshrplib and seems ok linkage wise. tho
some ModPerl-Registry are tests failing with the same problem in
special_blocks:
# testing : ModPerl::Registry is not running BEGIN blocks
I suspect that pre-fork would work too, but I'm desparately
trying to get threads working.
Here is apr.h
[/usr/local/apache2/htdocs/perl]# grep -i thread
/usr/local/apache2/include/apr.h
#define APR_HAVE_PTHREAD_H 1
#define APR_USE_PROC_PTHREAD_SERIALIZE0
#define APR_USE_PTHREAD_SERIA
Hi there,
On Tue, 11 Jun 2002, Harnish, Joe wrote:
> Does anyone know of issues with mod_perl and post?
Here's one.
73,
Ged.
>From [EMAIL PROTECTED] Tue Jun 11 18:16:11 2002
Date: Wed, 20 Mar 2002 19:20:29 + (GMT)
From: Ged Haywood <[EMAIL PROTECTED]>
To: Stas Bekman <[EMAIL PROTECTED]>
could this be a version of freebsd with broken threads support? i've
> heard many cases of that. chances are if you rebuild perl without
> -Dusethreads and apache with the prefork mpm, this problem won't be
there.
so the problem that I see on linux is unrelated?
this tested with prefork Apa
On 6/11/02 12:46 PM, Perrin Harkins wrote:
> John Hurst wrote:
>> Still, I don't think that replacing this:
>>
>>
>>SetHandler perl-script
>>PerlHandler Controller::Search
>>
>>
>> with this:
>>
>> [% Ctrl.Search() %]
>>
>> makes Controller::Search any less a controller.
>
> You're
On Mon, 10 Jun 2002, John Bass wrote:
> Hello,
>
> Does anyone have a solution for the cgi_header_out function within
> mod_perl 2.
>
> I have found it is used by Apache:Session, and would like to use this
> module.
i was going to ask, why on earth would Apache::Session use cgi_header_out,
bu
On Tue, 11 Jun 2002, Doug MacEachern wrote:
> could this be a version of freebsd with broken threads support? i've
> heard many cases of that. chances are if you rebuild perl without
> -Dusethreads and apache with the prefork mpm, this problem won't be there.
this is likely the problem. i
John Hurst wrote:
> Still, I don't think that replacing this:
>
>
>SetHandler perl-script
>PerlHandler Controller::Search
>
>
> with this:
>
> [% Ctrl.Search() %]
>
> makes Controller::Search any less a controller.
You're right. It just looks kind of odd to me, invoking a template
On Tue, 11 Jun 2002, Paul G. Weiss wrote:
> I had already thought of that. Strace shows that the
> correct libperl.so is the one that is being loaded. Just
> to make sure I deleted all others and did
>
> ln -s /usr/lib/perl5/5.6.1/i386-freebsd-thread-multi/CORE /usr/lib
>
> but strace tells
Hi,
All this talk of MVC and a universal despatch mechanism has
started me thinking about Java Web Applications and how they are bundled
into a standard configuration (e.g., Java's Servlet standard 2.3)
Would such a standard (albeit optional) be useful for mod_perl2?
Gene
I had already thought of that. Strace shows that the
correct libperl.so is the one that is being loaded. Just
to make sure I deleted all others and did
ln -s /usr/lib/perl5/5.6.1/i386-freebsd-thread-multi/CORE /usr/lib
but strace tells me that it is still directly loading the correct
one, pr
Mark Korey wrote:
> I was once told that in order for mod_perl CGI code to
> work properly all functionality/logic needed to reside
> in a function named "init()". Now that I'm pouring over
> mod_perl documentation & getting things running, I haven't
> found any mention of this.
>
> So ... is the
All this MVC discussion has been very helpful. There are obviously
many ways to do MVC web apps and I'd love to get a bit of feedback on
the approach we are currently planning for ours before we jump into
coding. Our app is a platform for running econ experiments, each of
which is structured a
Title: RE: AuthenNTLM, IE, KeepAlives, Post?
Well, I have narrowed it down to the "POST" method on my forms. If I replace them with "get"s it works 100%.
I am kind of wondering if this has to do with mod_perl and post because I have had this issue before when using mod_perl and post witho
sounds like the old freebsd plague of installing libperl.so into
/usr/local/lib. that is, the dist installs libperl.so where it should not
be installed, /usr/local/lib, then a user compiles/installs on their
own and libperl.so is installed where it should be, in your case likely:
/usr/lib/pe
On Tue, 11 Jun 2002, Andreas J. Koenig wrote:
> PAUSE is suffering from a SEGV since I installed RC1. After I upgraded
> yesterday to snapshot 17165 I finally caught the following within gdb.
> I'd appreciate further instructions where to go from here.
test case?
> #4 0x816fc96 in Perl_my_pope
Ward Vuillemot wrote:
> I know we are straying WOT, but I would love to get a better feel for XML, XSLT and
>AxKit.
Barrie Slaymaker has written a couple of articles on perl.com that serve
as a good intro to AxKit.
- Perrin
On Tue, 11 Jun 2002, Ward Vuillemot wrote:
> I know we are straying WOT, but I would love to get a better feel for
> XML, XSLT and AxKit. There are a lot of different systems out there. .
> .and part of me wants to just do it my way (in large part to learn), but
> I also realize that I really wa
I know we are straying WOT, but I would love to get a better feel for XML, XSLT and
AxKit. There are a lot of different systems out there. . .and part of me wants to
just do it my way (in large part to learn), but I also realize that I really want to
get to the business of also being productiv
I was once told that in order for mod_perl CGI code to
work properly all functionality/logic needed to reside
in a function named "init()". Now that I'm pouring over
mod_perl documentation & getting things running, I haven't
found any mention of this.
So ... is there any special purpose w/in mod_
I should also mention -- my perl is patched with the patch
to DynaLoader.pm that Doug MacEachern posted in this list.
-P
> -Original Message-
> From: Stas Bekman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 4:06 AM
> To: Paul G. Weiss
> Cc: [EMAIL PROTECTED]
> Subject: Re: P
* Dodger <[EMAIL PROTECTED]> [2002-06-11 06:56]:
[-- snip --]
> Well, it seems that there are strange headers being passed out with
> mod_perl, and mixed into them come carriage returns.
You're using chunked encoding; many clients can't handle that.
> /* response headers from mod_perl -- sessi
On Tuesday, June 11, 2002, at 01:37 PM, Chris Winters wrote:
> On Mon, 2002-06-10 at 13:29, Ray Zimmerman wrote:
>> So how is everybody else handling URL mapping? Do others group this
>> kind of data together with fonts, colors, etc? And where do you
>> define it?
>
> A single mod_perl handler
I have some questions for users of Templating... we currently, (in
another language) have a set of standard functions for things like
printing data tables, so in our HTML page outlines, we just insert a
call to
printDataTable( table => $table, user => $user, data => $data, layout =>
layout );
On Mon, 2002-06-10 at 13:29, Ray Zimmerman wrote:
> So how is everybody else handling URL mapping? Do others group this
> kind of data together with fonts, colors, etc? And where do you
> define it?
As Perrin mentioned, OpenInteract does this by allowing individual
packages (distributable appl
Maybe this year Randal Schwartz can get his idea implemented. I think he
had suggested a motto last year that people seemed OK with but then the
T-Shirts never got done in the end...
Ah, the annual motto vote... :) Just re-read the same thread in the
archives last year.
Later,
Gunther
At
Hi.
I've set up my system to move gradually over to mod_perl and been clearing
hurdles for several weeks now -- things like Apache::DBI cached connections
to mysql never timing out and eventually running mysql out of connections,
strange sudden bogging-down of the server, and so on, and I've worke
mod_perl: The camel with wings
John
-Original Message-
From: Lupe Christoph [mailto:[EMAIL PROTECTED]]
Sent: 11 June 2002 11:51
To: Leon Brocard
Cc: mod_perl list
Subject: Re: OSC early bird and mod_perl T-Shirts
On Tuesday, 2002-06-11 at 10:44:26 +0100, Leon Brocard wrote:
> Yup, I
On Tuesday, 2002-06-11 at 10:44:26 +0100, Leon Brocard wrote:
> Yup, I have a designer here who is willing to come up with something.
> Constructive ideas welcome offlist. Better slogans than "modperl: the
> only way to fly", "modperl: obey your thirst" etc. very welcome too ;-)
SCNR:
Quetzalco
Stas Bekman sent the following bits through the ether:
> To those who want to print mod_perl T-Shirts for themselves we need a
> nice design which can then be put on the site. So if you know a designer
> willing to help us here, please do that!
Yup, I have a designer here who is willing to com
> From: Rob Nagler [mailto:[EMAIL PROTECTED]]
> Sent: 10 June 2002 20:41
> ... a Facade is the front face of the web site which includes colors,
> text, URLs, etc. All the other MVC components talk to the currently
> selected Facade when they need these values.
> The controller calls Bivio::U
Paul G. Weiss wrote:
> Sorry if this has been covered - I searched to no avail.
>
> I'm getting the following error when trying to start
> an Apache 2.0.36 with ModPerl::Registry:
>
> /usr/libexec/ld-elf.so.1:
> /usr/lib/perl5/site_perl/5.6.1/i386-freebsd-thread-multi/auto/Apache/Request
> Rec/R
71 matches
Mail list logo