[Bioperl-l] Bio::Biblio::MedlineArticle.pm

Tom Keller kellert at ohsu.edu
Tue Apr 19 22:21:42 UTC 2011


Greetings,
I'm trying to parse a file of medline records (and out of practice).
The code following gives the error:
$ bp_medline.pls ref01.txt
Odd number of elements in hash assignment at /Users/kellert/perl5/bioperl/Bio/Biblio/BiblioBase.pm line 154.
$MeshHeadings = undef;


### code snippet bp_medline.pls ###
use Bio::Biblio::MedlineArticle;

my $obj = Bio::Biblio::MedlineArticle->new(-mesh_headings => );

print Data::Dumper->Dump( [$obj->mesh_headings], ['MeshHeadings'] );

########

I'm missing something, in creating my object, but I can't tell from the pod what. Can someone point out my error?

thanks,

Tom
MMI DNA Services Core Facility<http://www.ohsu.edu/xd/research/research-cores/dna-analysis/>
503-494-2442
kellert at ohsu.edu<mailto:kellert at ohsu.edu>
Office: 6588 RJH (CROET/BasicScience)









More information about the Bioperl-l mailing list