Help for this page

Select Code to Download


  1. or download this
    $sth->prepare("INSERT INTO Blah (a,b,c) VALUES (?,?,?)");
    tie @list, 'Tie::File', $filename;
    ...
    
    untie @list;
    unless ($errors) { unlink $filename; }
    
  2. or download this
    $sth->prepare("INSERT INTO Blah (a,b,c) VALUES (?,?,?)");
    tie *TSV, 'File::ReadBackwards', $filename;
    ...
    
    untie *TSV;
    unless ($errors) { unlink $filename; }