in reply to eval doesn't work under tkx
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 $@.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: eval doesn't work under tkx
by nyj (Novice) on Jul 16, 2010 at 05:56 UTC | |
by shmem (Chancellor) on Jul 16, 2010 at 08:55 UTC | |
by nyj (Novice) on Jul 19, 2010 at 10:42 UTC |