[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: Template Toolkit Interaction


In article <suppressed>, Curtis Hawthorne wrote:
>
> I did some searching and found this thread:
> http://template-toolkit.org/pipermail/templates/2003-March/004336.html
> which suggested it is a problem with CGI::Carp, specifically the
> $SIG{__DIE__} handler it installs.  I edited Application.pm and replaced use
> CGI::Carp; with just use Carp; and Template Toolkit worked as it should.
> 
> I found this post on the mailing list:
> http://www.mail-archive.com/suppressed/msg00657.html
> that offered a patch to disable the use of CGI::Carp, but there wasn't any
> indication as to whether it would be accepted.
> 
> Is there another (better?) way to work around this or is the best solution to
> change the use of CGI::Carp to Carp?  If that's the case, is it likely this
> will be changed in a future version?  It would be kind of annoying to have to
> edit every copy of CGI::Application I install.

The patch idea makes sense to me. I suppose someone could start
distributing a renegade patched version that just uses "Carp". It does
seem simple enough to allow a patch that makes it an option.

	Mark

--
http://mark.stosberg.com/ 


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.