> However, I do not know how to capture the stack trace.  Is there a 
> variable (like the $! variable for the error message), which contains a 
> reference to the stack trace that I would get if I were not catching 
> these errors?  Thanks.

I don't know exactly how it's called, but look in the built in classes 
reference at the Exception class. It holds an array or a method which 
returns an array with the stack trace..
hope this helps.

bye!
Dominik