my macro do_something { ... } for (...) { pause, next if ...; do_something; } cont { do_something; } #### for (...) { notagain, next if ...; ...; }