Easiest solution would be to have a hash whose values were guaranteed to be the names of extant BLOCKs, and filter your input through that before calling it.
On Tue, Feb 22, 2011 at 6:58 PM, Summer <[email protected]> wrote: > Hello, > > I believe my issue is (previous thread) is the fact I am trying to use a > BLOCK that doesn't exist. Is there a way to test for the existence of a > BLOCK before I try to PROCESS it, or a way to CATCH it gracefully without it > preventing subsequent loops thru the page to "exit" out? > > My TRY/CATCHES don't seem to work unless I do a *CATCH file* but I think > that is giving me uninteded consquences. > > thanks > > > > > > _______________________________________________ > templates mailing list > [email protected] > http://mail.template-toolkit.org/mailman/listinfo/templates > > -- Check out my LEGO blog at http://www.brickpile.com/ View my photos at http://flickr.com/photos/billward/ Follow me at http://twitter.com/williamward
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
