summaryrefslogtreecommitdiff
path: root/README
blob: 8d4c958bf8213abbc9f8c17c5775ff59ad6a0fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Travel::Status::DE::DeutscheBahn -
Interface to the DeutscheBahn online departure monitor
------------------------------------------------------

* <http://finalrewind.org/projects/Travel-Status-DE-DeutscheBahn/>


Dependencies
------------

 * perl version 5.10.1 or newer
 * Class::Accessor
 * DateTime
 * DateTime::Format::Strptime
 * JSON
 * List::MoreUtils
 * LWP::UserAgent (usually shipped by libwww-perl)
 * XML::LibXML

Installation
------------

$ perl Build.PL
$ perl Build
$ sudo perl Build install

You can then run 'man Travel::Status::DE::HAFAS' for more information.
This distribution also ships the example script 'hafas-m', see 'man hafas-m'.

Testing
-------

$ perl Build test

This will require the Test::More, Test::Compile and Test::Pod modules.