if(($ma == 1) && ($sy == 1)) { SWITCH: { $al == 1 && do { print "\nshow some text.\n"; notify(); last SWITCH; }; $tr == 1 && do { print "\nnext data info\n"; notify(); last SWITCH; }; $ge == 1 && do { print "\nnew info here\n"; notify(); last SWITCH; }; }; };