On 10-09-01 11:37 AM, Chas. Owens wrote:
I don't care if you use unless or if, but please don't use if (!). Say if (not) instead. The looser binding makes it easier to use and the fact that it is three letters long (rather than one skinny character long) makes it some much easier to see.
You do realize that you just made a good argument for unless. Of course, if you want to make the purists cringe:
if( some_condition ){ # this space intentionally left blank }else{ do_work(); } -- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/