Help for this page

Select Code to Download


  1. or download this
    +---------------+-------------+------+-----+------------+-------+
    | Field         | Type        | Null | Key | Default    | Extra |
    ...
    | salary        | mediumint   |      |     |            |       |
    | date_hired    | date        |      |     |            |       |
    +---------------+-------------+------+-----+------------+-------+
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
        }
    }
    untie %IDS;
    
  3. or download this
    12345678:
    firstame => Fritz
    ...
    dept => research
    salary => peanuts
    date_hired => 2006-01-20
    
  4. or download this
    #!/usr/bin/perl -w
    
    ...
        }
    }
    
  5. or download this
    12345678:
    Can't use string ("ARRAY(0x84d90b8)") as an ARRAY ref while "strict re
    +fs" in
    ...
    Uncaught exception from user code:
            Can't use string ("ARRAY(0x84d90b8)") as an ARRAY ref while "s
    +trict refs" in use at read_db.pl line 18.
     at read_db.pl line 18
    
  6. or download this
    tie %IDS, "DB_File", $file or die "Can't open $file: $!";
  7. or download this
    12345678:
    firstame => Fritz
    ...
    dept => research
    salary => peanuts
    date_hired => 2006-01-20