sub ladeTabellen { my $rc = machWas(...); $rc = machWas(...) if ($rc == 512); if ($rc != 0) { ... } else { ... } }