| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  |  | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | # This file has been generated automatically by the | 
| 4 |  |  |  |  |  |  | # Astro::Telescope build system. Do not edit directly. | 
| 5 |  |  |  |  |  |  | # Edit Build.PL or tmpl/MPC.dat instead. | 
| 6 |  |  |  |  |  |  |  | 
| 7 |  |  |  |  |  |  | package Astro::Telescope::MPC; | 
| 8 |  |  |  |  |  |  |  | 
| 9 | 3 |  |  | 3 |  | 16 | use strict; | 
|  | 3 |  |  |  |  | 7 |  | 
|  | 3 |  |  |  |  | 100 |  | 
| 10 | 3 |  |  | 3 |  | 17 | use warnings; | 
|  | 3 |  |  |  |  | 5 |  | 
|  | 3 |  |  |  |  | 99 |  | 
| 11 | 3 |  |  | 3 |  | 16 | use vars qw/ %obs_codes /; | 
|  | 3 |  |  |  |  | 6 |  | 
|  | 3 |  |  |  |  | 170 |  | 
| 12 |  |  |  |  |  |  |  | 
| 13 | 3 |  |  | 3 |  | 17 | use constant DD2R => 0.017453292519943295769236907684886127134428718885417; | 
|  | 3 |  |  |  |  | 5 |  | 
|  | 3 |  |  |  |  | 710 |  | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | sub parse_table { | 
| 16 | 8 |  |  | 8 | 0 | 11 | my $self = shift; | 
| 17 | 8 | 100 |  |  |  | 30 | return if %obs_codes; | 
| 18 |  |  |  |  |  |  |  | 
| 19 | 3 |  |  |  |  | 3366 | for () { | 
| 20 | 5028 |  |  |  |  | 19600 | my($code, $long, $par_S, $par_C, $mpcname) = unpack("A3A10A8A9A*", $_); | 
| 21 | 5028 | 100 |  |  |  | 18127 | next unless $long =~ /\d/; # Space telescope | 
| 22 | 5007 |  |  |  |  | 31865 | $obs_codes{$code} = { Long => ($long * DD2R), | 
| 23 |  |  |  |  |  |  | Par_S => $par_S, | 
| 24 |  |  |  |  |  |  | Par_C => $par_C, | 
| 25 |  |  |  |  |  |  | Name => $mpcname, | 
| 26 |  |  |  |  |  |  | }; | 
| 27 |  |  |  |  |  |  | } | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | } | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | 1; | 
| 32 |  |  |  |  |  |  | __DATA__ |