if($payday eq $today) { goto JOB; } JOB: if($your_check < $bosses_check) { $your_check ~=s/$your_check/$bosses_check/gis; next JOB if caught(); }