GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Result(3) User Contributed Perl Documentation Result(3)

Astro::SIMBAD::Result - Results from an SIMBAD Query

  $result = new Astro::SIMBAD::Result( Objects => \@objects );

Stores the results returned from an SIMBAD search as a hash of Astro::SIMBAD::Result::Object objects with the objects being indexed by Object Name.

$Id: Result.pm,v 1.3 2001/11/28 17:43:34 aa Exp $

Create a new instance from a hash of options

  $result = new Astro::SIMBAD::Result( Objects => \@objects );
    

returns a reference to an SIMBAD Result object.

Return the number of objects in the Astro::SIMBAD::Result object.

   $num = $result->sizeof();
    
Push a new Astro::SIMBAD::Result::Object object onto the end of the Astro::SIMBAD::Result object

   $result->addobject( $object );
    

returns the number of objects now in the Result object.

Return an array of all the "Astro::SIMBAD::Result::Object" objects stored in the results object.

  @objects = $result->objects;
    
Returns an list of "Astro::SIMBAD::Result::Object" objects by name

  @objects = $result->objectbyname("IP Peg");
    

the name given does not have to be a full object name, only a sub-string. However, if multiple matches are found an array of possible matches will be returned.

Returns a list of all the stellar objects held in the Result object

    @object_name = $result->listofobjects();
    $number = $result->listofobjects();
    

if called in a scalar context it will return the number of objects in the Result object.

Configures the object, takes an options hash as argument

  $result->configure( %options );
    

Takes a hash as argument with the following keywords:

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>,

2001-11-28 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.