sub routine { { print "test1\n"; eval { next; }; print "test2\n"; } print "test3\n"; } routine();