Хранилища Subversion geo-modmetar

Сравнить редакции

Не учитывать пробелы Редакция 4 → Редакция 3

/trunk/README
1,4 → 1,4
Readme for Geo::ModMETAR
Readme for Mod::Geo::METAR
 
Accessing Aviation Weather Information with Perl.
 
9,17 → 9,17
 
BACKGROUND
 
This is the README file for the Geo::ModMETAR Perl module.
This is the README file for the Mod::Geo::METAR Perl module.
 
The Geo::ModMETAR home page is located at:
The Mod::Geo::METAR home page is located at:
 
http://astro.uni-altai.ru/~aw/perl/Geo-ModMETAR/
http://astro.uni-altai.ru/~aw/perl/Mod-Geo-METAR/
 
There may be bugs in the code as well as in the documentation. If
you find either, I'd appreciate a patch or at least a mail message
to let me know what's wrong so that I can add it to the TODO list.
 
Geo::ModMETAR as been developed and tested on Linux and Solaris
Mod::Geo::METAR as been developed and tested on Linux and Solaris
as well as Windows NT. It may well work on other platforms. It is
pure Perl. If you install it on another platform, and have trouble
I'd like to hear about it. If you develop patches for that
28,13 → 28,13
REQUIREMENTS
 
You will need Perl 5.005 or newer to install and use
Geo::ModMETAR. It may work with older versions of Perl, but I
Mod::Geo::METAR. It may work with older versions of Perl, but I
make no guarantees.
 
 
INSTALLATION
 
Installing Geo::ModMETAR is an easy process.
Installing Mod::Geo::METAR is an easy process.
 
$ perl Makefile.PL
$ make
44,13 → 44,13
 
DOCUMENTATION
 
The documentation is built-in to the Geo::ModMETAR module in POD
The documentation is built-in to the Mod::Geo::METAR module in POD
format. You can use any of the pod2* converters to translate it
to a more readable format. The three most common formats are
'man', 'html', and 'text'.
 
When you ran the 'make install' above, documentation should have
been installed on your system such that 'perldoc Geo::ModMETAR'
been installed on your system such that 'perldoc Mod::Geo::METAR'
will spit it out. Of course, you can run your favorite pod
converter and generate it in alternative formats.
 
61,7 → 61,7
directory. They are provided as examples. They should provide an
idea of what you can do with this module.
 
simple_dump.pl Process a simple ModMETAR.
simple_dump.pl Process a simple METAR.
fetch_temp.pl Fetch the temperature and print it out.
 
If you develop a good example that would be useful to others, I'd
70,6 → 70,6
 
TODO LIST
 
If you're wondering what will come next in Geo::ModMETAR, see
If you're wondering what will come next in Mod::Geo::METAR, see
the TODO file.
 
/trunk/examples/fetch_temp.pl
1,10 → 1,12
#!/usr/bin/perl -w
 
# $Id: fetch_temp.pl,v 1.1 2007/11/13 21:19:27 koos Exp $
 
# Brief Description
# =================
#
# fetch_temp.pl is a program that demonstrates how to get the current
# temperature from a nearby (or not) airport using Geo::ModMETAR and the
# temperature from a nearby (or not) airport using Geo::METAR and the
# LWP modules.
#
# Given an airport site code on the command line, fetch_temp.pl
/trunk/examples/simple_dump.pl
1,7 → 1,9
#!/usr/bin/perl
 
# Example script for ModMETAR.pm.
# $Id: simple_dump.pl,v 1.1 2007/11/13 21:19:27 koos Exp $
 
# Example script for METAR.pm.
 
use Geo::ModMETAR;
 
my $m = new Geo::ModMETAR;
/trunk/ModMETAR.pm
1,5 → 1,5
# AW: create fork Geo::METAR as Geo::ModMETAR
#
# $Id: METAR.pm,v 1.11 2008/01/02 13:47:00 koos Exp $
 
# KH: fix the parser
# should be a finite state machine
# - metar has rules what comes after what. but codes can be missing.
/trunk/t/metar.t
1,7 → 1,8
#!/usr/bin/perl
#
# $Id: metar.t,v 1.1 2007/11/13 21:19:27 koos Exp $
#
# Test script for ModMETAR installation.
# Test script for METAR installation.
 
use strict;
use Test;
12,13 → 13,13
 
my %tally = (passed => 0, failed => 0, skipped => 0);
 
print "Testing ModMETAR.\n";
print "Testing METAR.\n";
 
my $m = new Geo::ModMETAR;
 
# Create a new instance.
 
if (ref $m eq 'Geo::ModMETAR') {
if (ref $m eq 'Mod::Geo::METAR') {
ok(1);
} else {
ok(0);