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