At 5:37 PM +0200 5/2/02, Gerald Richter wrote:
>BTW. In the same way you could use thinks like [* last *], this also works
>inside of [$ while ... $]

That's worth remembering, thanks.

This leads to yet another thought.  It would be interesting to add 
exception handling support to Embperl.  I sometimes use the Error 
module as a wrapper around the perl code in my Embperl files, so that 
I can trap database errors and the like.  But imagine something like 
this:

[$ try $]

html and embperl code

[$ catch Error::Database $]

html dealing with error

[$ otherwise $]

fallback

[$ finally $]

always do this

[$ endtry $]


I'll have to try that with [* *] and see how it works out.
-- 

Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/
[EMAIL PROTECTED]

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to