in reply to function or something

If something is dying, try wrapping it in an eval {}; block. After the block any error will be in $@.

Phil

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.