All pastes #473279 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-06 04:13 UTC
rendered paste body
$filename = "index.dumped.html";

open( FILE, "< $filename" ) or die "Can't open $filename : $!";

my $sth = $dbh->prepare(qq{

  insert into indexed (url, webtext) values ('$_[0]', ?)
});

while (defined(my $pushing = <FILE>  )) {
push @complete, $pushing;
}


$sth->execute("@complete");
undef @complete;

close FILE;