[Bioperl-guts-l] bioperl-live/Bio/DB/Biblio eutils.pm,1.12,1.13

Brian Osborne bosborne at dev.open-bio.org
Wed Jan 17 15:42:02 EST 2007


Update of /home/repository/bioperl/bioperl-live/Bio/DB/Biblio
In directory dev.open-bio.org:/tmp/cvs-serv4278/Bio/DB/Biblio

Modified Files:
	eutils.pm 
Log Message:
Better example

Index: eutils.pm
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/Bio/DB/Biblio/eutils.pm,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** eutils.pm	20 Sep 2006 08:58:50 -0000	1.12
--- eutils.pm	17 Jan 2007 20:42:00 -0000	1.13
***************
*** 18,23 ****
  
    use Bio::Biblio;
!   my $biblio = new Bio::Biblio (-access => 'eutils');
!   $biblio->db('PMC'); #optional, default is PubMed.
  
  =head1 DESCRIPTION
--- 18,29 ----
  
    use Bio::Biblio;
!   use Bio::Biblio::IO;
! 
!   my $biblio = new Bio::Biblio( -access => 'eutils' );
!   $biblio->find("10336996");
!   my $xml = $biblio->get_next;
!   my $io = Bio::Biblio::IO->new( -data => $xml, 
!                                  -format => 'medlinexml' );
!   my $article = $io->next_bibref();
  
  =head1 DESCRIPTION



More information about the Bioperl-guts-l mailing list