|
Astro::ADS::Result - Results from an ADS Query |
Astro::ADS::Result - Results from an ADS Query
$result = new Astro::ADS::Result( Papers => \@papers );
Stores the results returned from an ADS search as an array of Astro::ADS::Result::Paper objects.
$Id: Result.pm,v 1.14 2001/12/03 03:41:45 aa Exp $
$result = new Astro::ADS::Result( Papers => \@papers );
returns a reference to an ADS Result object.
$paper = $result->sizeof();
$result->pushpaper( $paper );
returns the number of papers now in the Result object.
$paper = $result->poppaper();
the method deletes the paper and returns the deleted paper object.
Astro::ADS::Result::Paper objects
stored in the results object.
@papers = $result->papers;
$paper = $result->paperbyindex( $index );
the first paper is at index 0 (not 1). Returns undef if no arguements are provided.
$result->configure( %options );
Takes a hash as argument with the following keywords:
Does nothing if these keys are not supplied.
summary method of each paper in turn and combines
the results as a single string.
The arguments are passed through to the summary method unchanged.
summary() method with
default arguments.
Copyright (C) 2001 University of Exeter. All Rights Reserved.
This program was written as part of the eSTAR project and is free software; you can redistribute it and/or modify it under the terms of the GNU Public License.
Alasdair Allan <aa@astro.ex.ac.uk>,
|
Astro::ADS::Result - Results from an ADS Query |