catching server errors

2004-03-20 Thread Chris Ochs
I have an application that lets users load their own modules into it. Following is the code I use to run it under Safe.pm: $result = $safe->reval(require "$file.pm", $obj = $mod->new, $obj->$command); Problem is if there is a compilation or runtime error, I cant' figure out how to catch it so I

Re: Apache::ASP grabbing STDIN

2004-03-20 Thread scott
Josh Chamas writes: I did this hack for Apache::ASP so that people could more easily port CGI script by just wrapping <% %> around them. Since Apache::ASP calls read() and consumes the input, I don't see how I could get it to work with Apache::Request, but I am not sure it is something developer

Re: Confused between mod_perl and Perl!

2004-03-20 Thread Artem Koutchine
> > I am just confused between mod_perl and Perl. My target is to be able to > > write enterprise web-based solutions using LAMP or Perl. TO be quite > > honest, I prefer writing in Perl (I am still a Perl newbie). As for what is said above i may mention that you may also consider fast-cgi and a g

tied hashes frustration

2004-03-20 Thread Chris Ochs
I use apache::session in my application which runs as a handler, and the session variables are needed by just about every module in the application (14 modules in all). Now the problem is that when the application dies unexpectedly, the session locking leaves a lock on the session file. I have ha

Re: CDB_File

2004-03-20 Thread Matt Sergeant
On 20 Mar 2004, at 07:54, David Hodgkinson wrote: On 20 Mar 2004, at 0:54, Lester Vecsey wrote: I'm serving many web requests with an apache modperl handler, and I'm doing lookups on a CDB_File within the handler, using 'tie' to open the cdb file for every request that comes through. Is there a

Re: Confused between mod_perl and Perl!

2004-03-20 Thread Mazen S. Alzogbi
Thanks to all for the valuable information. Now I feel I know better where I am headed :) Cheers, Mazen - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Mazen S. Alzogbi" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, March 20, 2004 7:25 PM Subject: Re: C

Re: Confused between mod_perl and Perl!

2004-03-20 Thread Perrin Harkins
Mazen S. Alzogbi wrote: I am totally new to the LAMP world and I am trying to find my way. I am a web solutions architect using Microsoft .NET, hence, I know how web servers work, etc. etc. I am just confused between mod_perl and Perl. My target is to be able to write enterprise web-based solutions

Re: Confused between mod_perl and Perl!

2004-03-20 Thread allan juul
hi mazen short answers follows Mazen S. Alzogbi wrote: Hi, I am totally new to the LAMP world and I am trying to find my way. I am a web solutions architect using Microsoft .NET, hence, I know how web servers work, etc. etc. I am just confused between mod_perl and Perl. My target is to be able to

Re: Confused between mod_perl and Perl!

2004-03-20 Thread Thomas Klausner
Hi! On Sat, Mar 20, 2004 at 02:39:03PM +0400, Mazen S. Alzogbi wrote: > I would appreciate anyone sheding some light on this issue. I suggest reading either http://perl.apache.org and/or some of the books referenced here: http://perl.apache.org/docs/offsite/books.html , especially "Writing

Confused between mod_perl and Perl!

2004-03-20 Thread Mazen S. Alzogbi
Hi, I am totally new to the LAMP world and I am trying to find my way. I am a web solutions architect using Microsoft .NET, hence, I know how web servers work, etc. etc. I am just confused between mod_perl and Perl. My target is to be able to write enterprise web-based solutions using LAMP or Perl