|Do you know where your variables are?|
Re^4: Can't call method "otherwise" without a package or object reference atby rpelak (Sexton)
|on Oct 06, 2010 at 05:05 UTC||Need Help??|
Okay I can confirm that otherwise is defined (I think)... I added this to the top of the sub...
I didn't get an error about a call to otherwise, but at the same time, neither the catch err with nor the otherwise got called. The err shouldn't have caught it, since it was intentionally a different exception type. but the otherwise should have from my understanding. instead the exception was uncaught, and simply killed execution... Which may mean I don't understand what otherwise is supposed to do... but http://search.cpan.org/~shlomif/Error-0.17016/lib/Error.pm says
So I am pretty sure it should have caught that... but I am not seeing either print statement in either block, nor the die statement. So the exception is not being caught...