Re: Error.pm and mod_perl

[prev] [thread] [next] [Date index for 2005/03/18]

From: Clinton Gormley
Subject: Re: Error.pm and mod_perl
Date: 15:38 on 18 Mar 2005
> Error::TryCatch looks like a nice drop in replacement for Error.pm.
> 
> This is the first time I've come across a source filter - looks like a
> really cool technique.

Hmmm - let me take that back.  There are too many issues with parsing at
the moment.

So the construct :

$abc->new( PARAM => {
         key1  => 'value1',
         key2  => 'value2',
         key3  => { keyA  => 'valueA', keyB=>'valueB'}
       });

doesn't work unless it is all written on one line.

And when trying to replace Error.pm in quite a long module, meaningless
error messages makes it really difficult to start tracking down the
problems in perfectly legal perl code.

Also, it imposes a significant startup time on my old laptop.

I guess it is back to eval & die.

If anybody is interested in reading an old discussion (2001) which
highlights the issues, the link is :
http://aspn.activestate.com/ASPN/Mail/Message/modperl/528982

> Clinton Gormley clinton@xxxxxxxxxx.xxx
> 
> www.TravelJury.com - For travellers, By travellers
> 
> 
> 
> 

________________________________________________________________________

Clinton Gormley clinton@xxxxxxxxxx.xxx

www.TravelJury.com - For travellers, By travellers



Error.pm and mod_perl
Clinton Gormley 20:08 on 17 Mar 2005

Re: Error.pm and mod_perl
Perrin Harkins 20:19 on 17 Mar 2005

Re: Error.pm and mod_perl
Clinton Gormley 13:19 on 18 Mar 2005

Re: Error.pm and mod_perl
Clinton Gormley 15:38 on 18 Mar 2005

Generated at 16:59 on 18 Mar 2005 by mariachi v0.52