Re: VBScript parser (was Re: Apache::ASP Question)

2000-07-24 Thread Matt Sergeant
On Mon, 24 Jul 2000 [EMAIL PROTECTED] wrote: > -- > > On Mon, 24 Jul 2000 13:19:51 Joshua Chamas wrote: > >Until I write a VBScript to perl parser, yes you can only > >use perl under Apache::ASP. > > Ok, so are you actually going to write a VBScript to perl parser? I > was actually thinking

VBScript parser (was Re: Apache::ASP Question)

2000-07-24 Thread
-- On Mon, 24 Jul 2000 13:19:51 Joshua Chamas wrote: >Until I write a VBScript to perl parser, yes you can only >use perl under Apache::ASP. Ok, so are you actually going to write a VBScript to perl parser? I was actually thinking of undertaking this project myself, but I've never written a

mixed httpd.conf => mixed results

2000-07-24 Thread Stéphane Payrard
At the end of an httpd.conf that contains both perl and apache traditional config material, I tried to list the resulting configuration (here only Locations and VirtualHosts). Only the material belonging to the perl section was listed. That puzzles me. I tried an empty perl section at the begin

Re: module multi-config strategy

2000-07-24 Thread Perrin Harkins
On Mon, 24 Jul 2000, martin langhoff wrote: > Now, the idea is to have one codebase, written in a module that serves > all of our sites. Each site should have its own (rather complex) > config. Each and every subroutine must know in which context it's > being called, and I don't really want to pas

Re: Mail delivery failed: returning message to sender

2000-07-24 Thread Greg Cope
Mail Delivery System wrote: > > This message was created automatically by mail delivery software. > > A message that you sent could not be delivered to one or more of its > recipients. The following address(es) failed: > > [EMAIL PROTECTED]: > SMTP error from remote mailer after RCPT TO:<

Re: ApacheCon Europe - thoughts please ?

2000-07-24 Thread Greg Cope
Richard Dice wrote: > > > I am considering going to the ApacheCon Europe to see what's said and > > put a few faces to names and meet a few people. > > So am I. And I'd be shipping myself in from Montreal/Toronto for it. > I'm sure it will be worth the money, but I sympathise in terms of paying

Re: Apache::ASP Question

2000-07-24 Thread Joshua Chamas
Victor wrote: > > So to move a page written in VB to unix, I'd need something like ChilliSoft > ? > Until I write a VBScript to perl parser, yes you can only use perl under Apache::ASP. I found VBScript to be an utterly crippled language a couple years ago when I started this project but I abs

module multi-config strategy

2000-07-24 Thread martin langhoff
hi list, i'm about to start writing the first of a series of internal modules, aimed at handling common features among sites we develop. Like, let's say, a 'latest news' box or a product guide/database. Now, the idea is to have one codebase, written in a module that serves all o

Re: Apache::ASP Question

2000-07-24 Thread Vivek Khera
> "V" == Victor <[EMAIL PROTECTED]> writes: V> So to move a page written in VB to unix, I'd need something like ChilliSoft V> ? Perhaps. Or maybe the ASP to PHP converter will do it for you? I hear rumors of such a thing that will convert your M$ ASP to php. But that's not Perl... ;-) --

Re: Apache::ASP Question

2000-07-24 Thread Matt Sergeant
On Mon, 24 Jul 2000, Victor wrote: > I am trying to figure out what Apache::ASP is and how well it works. Can > anyone point me to information on the following points or provide me > with answers to the following? > > 1. How compatible is Apache::ASP with ASP? Pretty good - I worked with Joshua

Re: Apache::ASP Question

2000-07-24 Thread Victor
So to move a page written in VB to unix, I'd need something like ChilliSoft ? Vivek Khera wrote: > > "V" == Victor <[EMAIL PROTECTED]> writes: > > V> I also wanted a clarification of ASP. As I understand it, ASP is M$'s > V> version of VB that runs in a way similar to how php does? Is ASP a

Re: Unexpected pnotes() behavior

2000-07-24 Thread JoshNarins
I think you've made a closure... my $subref; { my $a = "hi!" $subref = sub { print "$a\n" }; $a = "huh?"; } &$subref; #prints "huh?" Is $r->pnotes really making a subref? I'm only starting to get familiar with Apache.xs but I can tell that notes is implemented directly on top of an Apache:

Re: Apache::ASP Question

2000-07-24 Thread Vivek Khera
> "V" == Victor <[EMAIL PROTECTED]> writes: V> I also wanted a clarification of ASP. As I understand it, ASP is M$'s V> version of VB that runs in a way similar to how php does? Is ASP a V> language or ... ? Does Apache::ASP support the vb syntax ? No, ASP on M$ is _usually_ written in VB.

Apache::ASP Question

2000-07-24 Thread Victor
I am trying to figure out what Apache::ASP is and how well it works. Can anyone point me to information on the following points or provide me with answers to the following? 1. How compatible is Apache::ASP with ASP? 2. How well does Apache::ASP perform? 3. Can Apache::ASP use COM? 4. What platfor

Unexpected pnotes() behavior

2000-07-24 Thread Dan Rench
I had a situation where a pnotes() key set in one phase had a value I did not expect in a later phase. Here's a small module that I wrote as a HeaderParserHandler to illustrate: package Ii::Apache::pnotes; use Apache::Constants 'OK'; sub handler { my $r = shift; $r->push_handlers('PerlF

[ANNOUNCE] Apache::Session 1.52

2000-07-24 Thread Jeffrey W. Baker
Apache::Session 1.52 has been uploaded to CPAN. The main change in this version is the inclusion of modules to work with Sybase, contributed by Chris Winters, and a smattering of bugfixes. There is a memory leak if you use a persistent database handle with Apache::Session. The memory leak is in

Re: Apache::Session - can't undef %session?

2000-07-24 Thread Perrin Harkins
On Mon, 24 Jul 2000, Kenneth Lee wrote: > I found that if I explicitly undef %session, CLEAR will be triggered > before DESTROY clearing $self->{data}, so $self->save actually update > nothing in the database. The perltie page says that this will happen when assigning the empty list to a tied h

Re: my first attempt at a perl script (syntax error)

2000-07-24 Thread Vivek Khera
> "SC" == Sam Carleton <[EMAIL PROTECTED]> writes: SC> Alex Farber wrote: >> maybe you should read some introductionary Perl >> books, like http://www.effectiveperl.com/toc.html or >> http://www.ebb.org/PickingUpPerl/pickingUpPerl.html SC> Maybe I have read things like "Programming Perl" fro

Re: PerlSetupEnv is evil

2000-07-24 Thread Eric Cholet
> > -Original Message- > > From: Roger Espel Llima [mailto:[EMAIL PROTECTED]] > > Sent: Friday, July 07, 2000 5:19 PM > > To: [EMAIL PROTECTED] > > Cc: [EMAIL PROTECTED] > > Subject: PerlSetupEnv is evil > > > > > [snip] > > > > It also turns out that specifying "PerlSetupEnv Off" outsi

Re: howto config apache to allow perl to filter php pages

2000-07-24 Thread darren chamberlain
Aaron Johnson ([EMAIL PROTECTED]) said something to this effect: > I was thinking about the same thing awhile back. It was interesting to me that > lots of neat applications are PHP based. I would like to be able to take the > processed PHP page and include it inside of my mod_perl page. I was

Re: OSS/Perl Conference Report

2000-07-24 Thread Matt Sergeant
On Mon, 24 Jul 2000, Gunther Birznieks wrote: > I have to say that I really enjoyed reading this. Especially since I was > stuck halfway around the world and couldn't really go this year. :( > > I wonder if the OReillyCon people would consider linking to this piece? I've offered it to MJD/JonO

Apache::Session - can't undef %session?

2000-07-24 Thread Kenneth Lee
Hi all, I found that if I explicitly undef %session, CLEAR will be triggered before DESTROY clearing $self->{data}, so $self->save actually update nothing in the database. # Apache/Session.pm ... sub CLEAR { warn "CLEAR!\n"; ... sub DESTROY { warn "DESTROY!\n"; ... # The

Re: OSS/Perl Conference Report

2000-07-24 Thread Gunther Birznieks
I have to say that I really enjoyed reading this. Especially since I was stuck halfway around the world and couldn't really go this year. :( I wonder if the OReillyCon people would consider linking to this piece? At 12:44 PM 7/23/00 +0100, Matt Sergeant wrote: >I've put my report on the OSS/Per

Re: OSS/Perl Conference Report

2000-07-24 Thread Matt Sergeant
On Sun, 23 Jul 2000, Perrin Harkins wrote: > On Sun, 23 Jul 2000, Matt Sergeant wrote: > > > I've put my report on the OSS/Perl conference online for all to > > see. Hopefully you'll find it vaguely interesting in parts. Its at > > http://modperl.sergeant.org/oss-conf-report.txt > > "On Wednesd

Re: ApacheCon Europe - thoughts please ?

2000-07-24 Thread Matt Sergeant
On Sun, 23 Jul 2000, Richard Dice wrote: > > I am considering going to the ApacheCon Europe to see what's said and > > put a few faces to names and meet a few people. > > So am I. And I'd be shipping myself in from Montreal/Toronto for it. > I'm sure it will be worth the money, but I sympathise

Re: startup file

2000-07-24 Thread David Hodgkinson
Paul Phillips <[EMAIL PROTECTED]> writes: > Hello, all, > > I'm quite noew to modperl. I've written a cgi, using cgi.pm that I am > moving to modperl. The cgi is written as one main program, with a number > of subroutines spread across three libraries that are required into the > main prog

Re: Apache::Session and blessed references

2000-07-24 Thread Dylan Weed
Hi Jeffrey -- I'm pretty sure the problem is reproducible, but I'll rerun the dog test case tomorrow when I get a chance and let you know whether things are still broken. I'll also flesh it out into a complete program. One unique thing about our configuration is that we're using Apache 1.3.12

HTTP_COOKIE value sometimes corrupted.

2000-07-24 Thread AAron
Hello gurus in mod_perl land! mod_perl is a great extension to apache! I just wish it were easier to config & install. Touching an Apache/mod_perl installation that already works is just about the only thing that scares me these days. As for my problem... Hardware: Dual processor PIII 500Mhz, 51