Re: CORE::format() and CORE::write() under 5.6.x

2001-04-23 Thread Robin Berjon
At 20:48 22/04/2001 +0800, Stas Bekman wrote: >There is this entry in the guide: > > >The interface to file handles which are linked to variables with >Perl's tie() function is not yet complete. The format() and write() >functions are missing. If you configure Perl with C, write() and >format(

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread Matt Sergeant
On Sat, 21 Apr 2001, Joachim Zobel wrote: > > Hi. > > I try to understand why and if this XML/XSL stuff is useful. Is it that > transformations (XSL) of XML to HTML can be used instead of the usual HTML > templates (eg. Template-Toolkit)? Partly. But XSLT is also able to transform documents, wh

[DIGEST] mod_perl digest 04/21/01

2001-04-23 Thread Geoffrey Young
-- mod_perl digest April 15, 2001 - April 21, 2001 -- Recent happenings in the mod_perl world... Features o

Re: Initializing CGI Object from $r

2001-04-23 Thread darren chamberlain
Wade Burgett ([EMAIL PROTECTED]) said something to this effect on 04/21/2001: > sub handler { > my $r = shift; > my $CGIQuery = new CGI($r); > }; I think this will do what you are thining: sub handler { my $r = shift; my $CGIQuery = CGI->new($r->method qe 'POST' ? $r->content : $

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread Michael Alan Dorman
Matt Sergeant <[EMAIL PROTECTED]> writes: > The one thing I think AxKit does really well, that other > "templating" solutions aren't really designed for, is allowing you > to build your whole web site with that solution. So for example, > Mason and EmbPerl are really great for building the dynamic

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread Matt Sergeant
On 23 Apr 2001, Michael Alan Dorman wrote: > Errr, respectfully, I think you underestimate Mason's capabilities. Not really. I've researched Mason quite a bit, and I talk with Jon every ApacheCon/OSSCON about how we can bring together the Mason and AxKit synergy. Now Jon has been to my talk, we

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread Michael Alan Dorman
Matt Sergeant <[EMAIL PROTECTED]> writes: > It depends a *lot* on the type of content on your site. The above > www.dorado.com is brochureware, so it's not likely to need to be > re-styled for lighter browsers, or WebTV, or WAP, or... etc. So your > content (I'm guessing) is pure HTML, with Mason

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread Ian Kallen <[EMAIL PROTECTED]>
Mason and AxKit solve different but related problems. The former a code-aware component system with process semantics that lend itself to easily scoping a component's applicability, the latter a transformation engine. It would be nice to see a framework published that uses the best of both (sor

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread ed phillips
Michael Alan Dorman wrote: > Matt Sergeant <[EMAIL PROTECTED]> writes: > > It depends a *lot* on the type of content on your site. The above > > www.dorado.com is brochureware, so it's not likely to need to be > > re-styled for lighter browsers, or WebTV, or WAP, or... etc. So your > > content (I

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread Matt Sergeant
On Mon, 23 Apr 2001, Ian Kallen <[EMAIL PROTECTED]> wrote: > Mason and AxKit solve different but related problems. The former a > code-aware component system with process semantics that lend itself to > easily scoping a component's applicability, the latter a > transformation engine. It would b

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread Matt Sergeant
On 23 Apr 2001, Michael Alan Dorman wrote: > Well I will say that you made an excellent point that hadn't really > occured to me---I use XML + XSL for a lot of stuff (the DTD I use for > my resume is a deeply reworked version of one I believe you had posted > at one time), but not web sites, in p

Re: ANNOUNCE: Apache::Reload 0.07

2001-04-23 Thread tom
Would Apache::Reload be helpful in the case where you have multiple virtualhosts which each want their own @INC ? I tried fixing this problem with a previous release, but gave up when I realized the implication of all those use lib () directives in my modules. If you think so, maybe you should

Re: ANNOUNCE: Apache::Reload 0.07

2001-04-23 Thread Matt Sergeant
On Mon, 23 Apr 2001, [EMAIL PROTECTED] wrote: > > Would Apache::Reload be helpful in the case where you have > multiple virtualhosts which each want their own @INC ? > I tried fixing this problem with a previous release, but gave up > when I realized the implication of all those use lib () > dire

Loading Index.pl as the Root File

2001-04-23 Thread Al Morgan
I've been studying Slash to better understand mod_perl. I think I understand everything that happens in the config file, except for this: SetHandler "perl-script" PerlHandler Slash::Host::slashcode::rootHandler Apparently, whenever the user reqests the root document (normally

Re: Loading Index.pl as the Root File

2001-04-23 Thread Aaron Johnson
Al Morgan wrote: > I've been studying Slash to better understand mod_perl. I think I > understand everything that happens in the config file, except for this: > > > SetHandler "perl-script" > PerlHandler Slash::Host::slashcode::rootHandler > > > Apparently, whenever the user r

Re: Loading Index.pl as the Root File

2001-04-23 Thread G.W. Haywood
Hi there, On Mon, 23 Apr 2001, Al Morgan wrote: > > SetHandler "perl-script" > PerlHandler Slash::Host::slashcode::rootHandler > > > question is: What does the ~ "^/$" mean? It's a match expression. It means match (the tilde character means match) a line containing a string

Re: Loading Index.pl as the Root File

2001-04-23 Thread Per Einar
- Original Message - From: "Al Morgan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 23, 2001 10:11 PM Subject: Loading Index.pl as the Root File > I've been studying Slash to better understand mod_perl. I think I > understand everything that happens in the config fil

Re: Loading Index.pl as the Root File

2001-04-23 Thread Jeffrey W. Baker
On Mon, 23 Apr 2001, Al Morgan wrote: > I've been studying Slash to better understand mod_perl. I think I > understand everything that happens in the config file, except for this: That is probably the single worst way to learn about mod_perl. Slash is the only program that makes me physicall

Re: Can AxKit be used as a Template Engine?

2001-04-23 Thread brian moseley
On Mon, 23 Apr 2001, Matt Sergeant wrote: > The alternative of course it to just plug them both > together - AxKit and Mason play nicely together using > Apache::Filter (though it's a bit slow). with version 2.3 of the java servlet api, you can now create input and output filters, just like the

Re: ANNOUNCE: Apache::Reload 0.07

2001-04-23 Thread Stas Bekman
On Mon, 23 Apr 2001, Matt Sergeant wrote: > On Mon, 23 Apr 2001, [EMAIL PROTECTED] wrote: > > > > > Would Apache::Reload be helpful in the case where you have > > multiple virtualhosts which each want their own @INC ? > > I tried fixing this problem with a previous release, but gave up > > when I

Directive Undefined

2001-04-23 Thread Al Morgan
At least two people responded to my last message telling me that they didn't like Slash much; it was a horrible piece of code. Are you refering to it as a general piece of Perl code, or how it deals with mod_perl? If the latter, where I can find some good code to look it? Also, Apache can't rec

Re: Directive Undefined

2001-04-23 Thread Stas Bekman
> At least two people responded to my last message telling me that they > didn't like Slash much; it was a horrible piece of code. Are you > refering to it as a general piece of Perl code, or how it deals with > mod_perl? If the latter, where I can find some good code to look it? Once you do so

Re: Loading Index.pl as the Root File

2001-04-23 Thread Dave Hodgkinson
"Jeffrey W. Baker" <[EMAIL PROTECTED]> writes: > On Mon, 23 Apr 2001, Al Morgan wrote: > > > I've been studying Slash to better understand mod_perl. I think I > > understand everything that happens in the config file, except for this: > > That is probably the single worst way to learn about mo