in reply to I don't want to die

Use the BLOCK form of eval to catch the exception. Or inspect the return value of stat() before calling a method on it.