Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-25 Thread Doug MacEachern
On 20 Apr 2000, Randal L. Schwartz wrote: "Doug" == Doug MacEachern [EMAIL PROTECTED] writes: Doug why all the globals?? symbol table lookups are much slower than Doug lexicals. If I recall, the word lately is that they're much closer than they were. i take it back, the symbol table

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-20 Thread Stas Bekman
On Thu, 20 Apr 2000, Doug MacEachern wrote: On Fri, 14 Apr 2000, Stas Bekman wrote: use vars qw($q $switch $status $sessionID); why all the globals?? symbol table lookups are much slower than lexicals. please don't promote globals, pass lexicals to the subroutines. Yeah, I'll fix

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Vivek Khera
"SB" == Stas Bekman [EMAIL PROTECTED] writes: SB Of course, anyone has a sample Perl section handy? I'm still an SB CApache::Registry fan, to be changed soon :) I don't see what Perl sections have to do with using or not Apache::Registry instead of handlers... But, I've been toying with the

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Stas Bekman
On Mon, 17 Apr 2000, Vivek Khera wrote: "SB" == Stas Bekman [EMAIL PROTECTED] writes: SB Of course, anyone has a sample Perl section handy? I'm still an SB CApache::Registry fan, to be changed soon :) I don't see what Perl sections have to do with using or not Apache::Registry instead

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Matt Sergeant
On Mon, 17 Apr 2000, Vivek Khera wrote: But, I've been toying with the idea of writing an Apache::Dispatch module that would take all URL's of the form something like http://localhost/perl/My/Module/handlerfunc and dispatch the call to My::Module::handlerfunc() Assuming that

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Drew Taylor
Matt Sergeant wrote: On Mon, 17 Apr 2000, Vivek Khera wrote: But, I've been toying with the idea of writing an Apache::Dispatch module that would take all URL's of the form something like http://localhost/perl/My/Module/handlerfunc and dispatch the call to

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Vivek Khera
"DT" == Drew Taylor [EMAIL PROTECTED] writes: DT are beginning the transition to Apache handlers. One other thing that I DT would love is a module to do checkboxes/pull-down list generation ALA DT CGI.pm. I might rip off some code and create a module myself. I think it Have a look at

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Vivek Khera
"MS" == Matt Sergeant [EMAIL PROTECTED] writes: adding handlers as easy as adding Registry scripts. I guess it is sort of an ultra-light-weight Registry, in some sense. MS I've got something pretty similar. Let me know if you want some code. Sure; it is always good to see other ideas...

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-17 Thread Matt Sergeant
On Mon, 17 Apr 2000, Vivek Khera wrote: "MS" == Matt Sergeant [EMAIL PROTECTED] writes: adding handlers as easy as adding Registry scripts. I guess it is sort of an ultra-light-weight Registry, in some sense. MS I've got something pretty similar. Let me know if you want some code.

[RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-14 Thread Stas Bekman
Someone has asked how to move from registry scripts to perl handlers, this is my attempt to show in details the process. Comments are welcome. =head1 Transitioning from Apache::Registry to Apache handlers Even if you are a CGI script die-hard at some point you might want to move a few or all

RE: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-14 Thread Chris Nokleberg
Someone has asked how to move from registry scripts to perl handlers, this is my attempt to show in details the process. Comments are welcome. In my mind, one of the biggest problems in transitioning from Apache::Registry is the added server configuration complexity. Would it be possible to