On 03/19/2011 11:32 PM, Vitaliy Margolen wrote:
On 03/18/2011 09:24 PM, m...@mtew.isa-geek.net wrote:
-  if ($opt_verbose>  0)
-  {
-    print "Processing ".$spec_name."\n";
-  }
+  print "Processing ".$spec_name."\n"
+    if $opt_verbose>= $VERBOSE_INPUT;
Please don't do this reverse notation. It's much more confusing to most people who are not too familiar with Perl.

Also you changing logic, by replacing ">" (greater then) with ">=" (greater of equal. This is a big no-no to combine any logical changes with cleanup changes.



This doesn't seem to change logic as $VERBOSE_INPUT equals 1 ( $VERBOSE_QUIET equals 0 )



Reply via email to