- or download this
my %owner = ( );
- or download this
open (FILE,"cron.log") or die "Can't open 'cron.log -- here's why:
+ $!\n";
- or download this
use IO::File;
my $fh = new IO::File("cron.log", "r") or die "Can't open 'cron.log' (
+$!)\n";
# Now use $fh in place of FILE ...
- or download this
my @split = split /[ ]+/;
my $split1 = $split[1] || "";
next if ($split1 !~ /oracle|sybase/)
- or download this
#!/usr/bin/perl
use strict;
...
print "$owner - JobID:$_ - RunTime:${$owner}{$_}\n";
};
}