which API to use for listing files ? (newbie question)

2004-05-08 Thread aravind elango
Hi, I am new to programming in modperl and am trying to do a recursive listing of files in a directory. (very similar to ls -r). I am using this to get some execution time information. I tried reading up handlers etc, in perl.apache.org/docs but did not find this information on the part of the do

Re: Apache custom directives problem

2004-05-08 Thread Stas Bekman
Anthony Hinsinger wrote: Hello, i'm currently writing a mod_perl authentification handler, and i want to add apache custom directives. I followed techniques explained in the mod_perl cookbook (http://www.modperlcookbook.org/chapters/ch07.pdf) using Apache::Extutils::command_table() to add 2 dir

Re: Database handle destroyed.....

2004-05-08 Thread Stas Bekman
Mark A. Downing wrote: On Fri, 7 May 2004, Stas Bekman wrote: Ah, now I understand. Thanks. Which version Mark is using? I'm running 1.99_12. _13 didn't work for me. I too struggled with Apache::DBI. If there is something I can do to help, please let me know. What didn't work? You can see the

Apache custom directives problem

2004-05-08 Thread Anthony Hinsinger
Hello, i'm currently writing a mod_perl authentification handler, and i want to add apache custom directives. I followed techniques explained in the mod_perl cookbook (http://www.modperlcookbook.org/chapters/ch07.pdf) using Apache::Extutils::command_table() to add 2 directives (req_override se

Re: Howto use emacs and perldb to debug mod_perl?

2004-05-08 Thread pdupreez-modperl
This works for me. Thanks! I have some suggestions for the pod: > =head2 Preparing httpd.conf > > Now you need to make sure that the SLAVE_EMACS environment variable makes > it to the perl code that runs inside Apache. Fortunately this is easy: > > PerlPassEnv SLAVE_EMACS =head2 Preparing

Re: Howto use emacs and perldb to debug mod_perl?

2004-05-08 Thread pdupreez
This works for me. Thanks! I have some suggestions for the pod: > =head2 Preparing httpd.conf > > Now you need to make sure that the SLAVE_EMACS environment variable makes > it to the perl code that runs inside Apache. Fortunately this is easy: > > PerlPassEnv SLAVE_EMACS =head2 Preparing

Re: Howto use emacs and perldb to debug mod_perl?

2004-05-08 Thread pdupreez-modperl
This works for me. Thanks! I have some suggestions for the pod: > =head2 Preparing httpd.conf > > Now you need to make sure that the SLAVE_EMACS environment variable makes > it to the perl code that runs inside Apache. Fortunately this is easy: > > PerlPassEnv SLAVE_EMACS =head2 Preparing