Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 84309 invoked by uid 500); 11 Oct 2002 04:54:23 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 84296 invoked from network); 11 Oct 2002 04:54:23 -0000 Message-ID: <002f01c270e2$6116d000$0b0c0b0a@gr.ecos.de> From: "Gerald Richter" To: , "Kee Hinckley" References: Subject: Re: Erasing the output Date: Fri, 11 Oct 2002 06:55:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Embperl 1.3.4. > > I have a situation where I discover half way through a file that I > want to abort the current page and display something else entirely. > I'm not displaying pages until the everything has run, so things are > clearly cached somewhere. Yes >Is there away to delete the cache? Not from Perl >From C there are three functions (in 1.3.4) oBegin, oCommit and oRollback, which do what you want to do. Would be necessary to make them access able from Perl. > > On a rather related subject. A while ago we discussed exception > handling. Has anyone thought of a way of doing that in a page? > > [! try { !] > does not appear to work (and there is the issue of dealing with the > output problem mentioned above even if it did). Not tried it, but [* try { *] should work, also the output is not discarded in case of an exception. > > I'd love to see the Error package builtin as [$ $] keywords. Some way of exception handling would be nice, that's true. I put it on the todo list Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: richter@ecos.de Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org