Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    # dump.pl
    ...
     VALUES ('4','Sales','1');
    INSERT INTO department (dept_code,dept,sort_order) 
     VALUES ('5','Development','3');
    
  2. or download this
    while (my $row = $sth->fetchrow_arrayref()) {
        print  join( ",", map( {"\"$_\""} @$row)), "\n";
    }
    
  3. or download this
    print join("\t", @$row),"\n";
    
  4. or download this
     _  _ _  _  
    (_|| | |(_|><
     _|