Help for this page

Select Code to Download


  1. or download this
    # connect to mesh db
    my $dbh = DBI->connect( "dbi:Pg:dbname=foobar", "foo") 
    ...
    my $pmid = ($root->descendants('PMID'))[0]->text;   
    print "PMID: $pmid\n";
    $rm->execute($pmid);
    
  2. or download this
    DBD::Pg::st execute failed: ERROR:  parser: parse error at or near "("
    + at character 20 at ../../bin/remove_disease.pl line 55.
    # line 55 is my execute statement but I think my syntax is wrong in my
    + prepare statement