Help for this page

Select Code to Download


  1. or download this
    # Connect to the database, (the directory containing our csv file(s))
    my $dbh = DBI->connect("DBI:CSV:f_dir=.;csv_eol=\n;");
    ...
    ######
    my @row = $dbh->selectall_arrayref("SELECT * FROM hosts, info WHERE ho
    +sts.IP = info.IP");
    print Dumper @row;
    
  2. or download this
    $VAR1 = [
              [
    ...
                '10.160.0.10',
                '10.160.0.10'
              ],
    
  3. or download this
    # Connect to the database, (the directory containing our csv file(s))
    my $dbh = DBI->connect("DBI:CSV:f_dir=.;csv_eol=\n;");
    ...
    ######
    my @row = $dbh->selectall_arrayref("SELECT IP, Domain, ServerName, Day
    +sUptime, OS, RAM, OSSP, InstallDate, CPUSpeed, CPUCount, CPUType FROM
    + hosts, info WHERE hosts.IP = info.IP");
    print Dumper @row;
    
  4. or download this
    $VAR1 = [
              [
    ...
                'Intel_Pentium_III'
              ],
    ]