NAME
Astro::Hipparcos::Record - Represents a single Hipparcos record
SYNOPSIS
use Astro::Hipparcos;
my $catalog = Astro::Hipparcos->new("thefile.dat");
while (defined(my $record = $catalog->get_record())) {
print $record->get_HIP(), "\n"; # print record id
}
DESCRIPTION
Represents a single Hipparcos record. The code is auto-generated from the C-level structure. Thus the funny member names.
METHODS
new
Returns a new record object.
ParseRecord
Somewhat internal method that may SEGFAULT if you use it wrong.
Given a string that MUST contain a full line from the record file, fills the object with data from that line.
get_line
Returns the full original catalog line.
GENERATED ACCESSOR METHODS
Each of these methods descriptions have the following format:
Bytes Format Units Label Explanations
POD_BEGIN
SEE ALSO
http://en.wikipedia.org/wiki/Hipparcos_Catalogue
At the time of this writing, you could obtain a copy of the Hipparcos catalogue from ftp://adc.gsfc.nasa.gov/pub/adc/archives/catalogs/1/1239/ (hip_main.dat.gz).
AUTHOR
Steffen Mueller, <smueller@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Steffen Mueller
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.0 or, at your option, any later version of Perl 5 you may have available.