till ( qr/match0/ => \&doOtherProcessing, qr/match1/ => \&doStage1, )