I am using Bio::DB::EUtilities to query the Pubmed DB with given PMIDs (Pubmed Id).
use Bio::DB::EUtilities;
use strict;
use warnings;
my @ids = (23298400);
my $factory = Bio::DB::EUtilities->new(-eutil => 'efetch',
-email => 'mymail@foo.bar',
-db => 'pubmed',
-retmode => 'xml',
-id => \@ids);
$factory -> get_Response(-file => 'pubmed_response.xml');
Is there a way to directly access the objects (e.g. abstract) instead of writing the response to file and using XML::Twig or so?