Help for this page

Select Code to Download


  1. or download this
    # creates a new db on db_file, or stores the database on RAM
    $ perl sdb.pl [db_file]
    ...
    
    # writes the contents of table_x to filename
    sdb> dump table_x [filename [field_separator]]
    
  2. or download this
    use strict;
    use warnings;
    ...
        print $rule, shift @rows, $rule, @rows, $rule
            if @rows;
    }