Help for this page

Select Code to Download


  1. or download this
    my %owner = ( );
    
  2. or download this
        open (FILE,"cron.log") or die "Can't open 'cron.log -- here's why:
    +  $!\n";
    
  3. 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 ...
    
  4. or download this
        my @split  = split /[ ]+/;
        my $split1 = $split[1] || "";
        next if ($split1 !~ /oracle|sybase/)
    
  5. or download this
    #!/usr/bin/perl
    use strict;
    ...
            print "$owner - JobID:$_ - RunTime:${$owner}{$_}\n";
        };
    }