[Bioperl-l] Bio::Biblio::MedlineArticle.pm
Kevin Brown
Kevin.M.Brown at asu.edu
Tue Apr 19 22:41:10 UTC 2011
my $obj = Bio::Biblio::MedlineArticle->new(-mesh_headings => );
Note the lack of anything after the "=>"
You either need to remove that flag or finish filling it out with a
variable or string or hash or whatever it is supposed to be.
Kevin Brown
Center for Innovations in Medicine
Biodesign Institute
Arizona State University
> -----Original Message-----
> From: bioperl-l-bounces at lists.open-bio.org [mailto:bioperl-l-
> bounces at lists.open-bio.org] On Behalf Of Tom Keller
> Sent: Tuesday, April 19, 2011 3:22 PM
> To: BioPerl-List
> Subject: [Bioperl-l] Bio::Biblio::MedlineArticle.pm
>
> 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)
>
>
>
>
>
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
More information about the Bioperl-l
mailing list