This software is a Perl interface for accessing the UK rail timetable. It provides a convenient way to gather information on train schedules and makes it easy for developers to incorporate that data into their own applications.
To use the software, simply create a new instance of the WWW::NationalRail class and provide it with the necessary parameters. These include the departure and arrival cities, the date of departure and return, and the time of departure and return.
Once you provide the search parameters, you can call the "search" method to initiate the search. If the search is successful, you will receive an outward and return summary. These will contain information about the route, including the departure time, arrival time, number of changes, and duration of the trip.
You can also call the "outward_detail" and "return_detail" methods to get more detailed information about each route. This will include information about each leg of the journey, including the stations, the arrival and departure times, the method of travel, and the operator.
Finally, if you need to change any of the search parameters, you can simply call the appropriate methods to update them, and then call the "search" method again to re-run the search.
Overall, the WWW::NationalRail is a useful and powerful tool for anyone looking to travel by train in the UK, and the ease of use and ability to search for detailed information make it a great choice for anyone looking for reliable and convenient train information.
Version 0.1: N/A