Next | Program Repair Shop | 201 |
You'd think this would never come up, but it's not uncommon:
Subject: Turning on/off "use diagnostics;" Message-Id: <71ln1f$d5m$1@nnrp1.dejanews.com>
$debug = 0; foreach $argv (@ARGV){ if($argv =~ /^-debug$/) { $debug = 1; } else { } }
This else block is not serving any purpose:
$debug = 0; foreach $argv (@ARGV){ if($argv =~ /^-debug$/) { $debug = 1; } }
Next | Copyright © 2002 M. J. Dominus |