Re: Error.pm and mod_perl
[prev]
[thread]
[next]
[Date index for 2005/03/18]
> 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