README
1NAME
2 Astro::Hipparcos - Perl extension for reading the Hipparcos star catalog
3
4SYNOPSIS
5 use Astro::Hipparcos;
6 my $catalog = Astro::Hipparcos->new("thefile.dat");
7 while (defined(my $record = $catalog->get_record())) {
8 print $record->get_HIP(), "\n"; # print record id
9 }
10
11DESCRIPTION
12 This is an extension for reading the Hipparcos star catalog.
13
14METHODS
15 new
16 Given a file name, returns a new Astro::Hipparcos catalog object.
17
18 get_record
19 Returns the next record (line) from the catalog as an
20 Astro::Hipparcos::Record object.
21
22SEE ALSO
23 Astro::Hipparcos::Record
24
25 <http://en.wikipedia.org/wiki/Hipparcos_Catalogue>
26
27 At the time of this writing, you could obtain a copy of the Hipparcos
28 catalogue from
29 <ftp://adc.gsfc.nasa.gov/pub/adc/archives/catalogs/1/1239/>
30 (hip_main.dat.gz).
31
32AUTHOR
33 Steffen Mueller, <smueller@cpan.org>
34
35COPYRIGHT AND LICENSE
36 Copyright (C) 2009 by Steffen Mueller
37
38 This library is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself, either Perl version 5.8.0 or, at
40 your option, any later version of Perl 5 you may have available.
41
42