- or download this
while (!eof(IN) ) {
$_ = <IN>;
$DEBUG = 1 if ($_ =~ m/^DEBUG/)
- or download this
while (<IN>) {
$DEBUG = 1 if /^DEBUG/;
- or download this
use Scalar::Util qw( looks_like_number );
...
if (looks_like_number($_) && ($_ > 0)) {
- or download this
if ($timings{$item}{STATUS} != '2') {
- or download this
if ($timings{$item}{STATUS} ne '2') {
- or download this
if ($timings{$item}{STATUS} != 2) {
- or download this
for (;;) {
...
}
close $log or die "Cannot close file '$log_file': $!";