|
From: Jonathan S. <gel...@ge...> - 2001-11-16 22:17:18
|
On Fri, 16 Nov 2001, Joseph F. Ryan wrote: > > >Can someone who worked on the CGI::Carp stuff, please look at this for Jean. > > > >Thanks, > > > >Dave... > > > A few days ago, I wrote about two "improved" solutions for the CGI::Carp > stuff. I was waiting on some feedback to decide which one to implement > :) Either way, we should have a clearer idea on what is going wrong. Here > they are again: > The error in this case was due to the fact that I had failed to declare $DEBUGGING as a package variable in all of the files that I had inserted that code into :( The example code that I posted originally did have typos in but the later complete CGI program I made *does* work - anyhow the point is that the declaration of the subroutine must be external to the set_message() thing because we need the user to be able to manipulate the output HTML ... /J\ -- Jonathan Stowe | <http://www.gellyfish.com> | This space for rent | |