summaryrefslogtreecommitdiff
path: root/README
blob: 18280d21187a29811774d6a56f2890a41f16a110 (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
36
37
38
39
40
41
42
43
44
45
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)
 * LWP::Protocol::https
 * XML::LibXML

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

From a release tarball:

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

From git:

$ perl Build.PL
$ perl Build
$ perl Build manifest
$ 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 requires the Test::More, Test::Compile and Test::Pod modules.