On 03/30/2010 09:47 AM, my600080 wrote:
I tried to use $...@->printStackTrace() but it kept generating the following error: Can't call method "getStackTrace" without a package or object reference.
It's my guess that $@ is being reassigned somewhere (from another eval somewhere else deep in the method calls). It's a best practice to assign $@ to something else if you're going to do more than just casually inspect it.
if( my $e = $@ ) { ... } -- Michael Peters Plus Three, LP