Try resetting $@ after handling the error condition, or localizing $@ to the scope of the while-loop where your eval is called.
You could also add a local $SIG{__DIE__} to that scope and have the handler output a stacktrace to see what happens. If that handler isn't called, your program is dying somewhere else from leftovers of the failed call - again, I guess that's related to $@.
In reply to Re: eval doesn't work under tkx
by shmem
in thread eval doesn't work under tkx
by nyj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |