NAME
WWW::B_Rail - Perl extension for b-rail.be
SYNOPSIS
use WWW::B_Rail;
my $brail = new WWW::B_Rail(LANGUAGE=>3,
FROM=>"LOUVAIN",
TO=>"DENDERMONDE",
DAY=>12,
MONTH=>4,
YEAR=>2002,
DOA=>1, #Departure or Arrival
HOUR=>20,
MINUTE=>0);
%times = %{$brail->fetch};
for $key (keys %times)
{ %data = %{$times{$key}};
for $foo (keys %data)
{ print $foo,"->",$data{$foo},"\n"; }
}
DESCRIPTION
WWW::B_Rail is a Perl extension to consult the Belgian Railways website for timetables.
EXPORT
None by default.
METHODES
Define the departure station
Define the arrival station
Define the requested day
Define the requested month
Define the requested year
Define the requested hour
Define the requested minute
Set either departure (0) or arrival (1) settings
Fetch the specified data. Returns a reference to a hash containing references to hashes.
AUTHOR
Hendrik Van Belleghem <lt> beatnik - at - quickndirty - dot - org <gt>
SEE ALSO
LICENSE
WWW::B_Rail is released under the GPL. See COPYING and COPYRIGHT for more info