eval { myfunc() } or print "something bad in myfunc $@\n";