It\'s something that\'s bugged me in every language I\'ve used, I have an if statement but the conditional part has so many checks that I have to split it over multiple lines, u
If I was doing it in Perl, This is how I might run the checks.
{ last unless $var1; last unless $var2; last unless $var3; last unless $var4; last unless $var5; last unless $var6; ... # Place Code Here }
If you plan on using this over a subroutine replace every instance of last with return;
last
return