Changes for version v5.2.0 - 2026-11-12

  • Calling a method that does not exist on a Map::Tube object (for example a typo such as get_Iines()) now dies with the standard Perl error "Can't locate object method ..." instead of being silently ignored. Previously, AUTOLOAD only handled the known plugin methods (as_image, fuzzy_find, to_xml etc.) and returned quietly for everything else.
  • AUTOLOAD now ignores DESTROY explicitly.
  • get_map_data() no longer relies on AUTOLOAD swallowing calls to the optional "xml" and "json" attributes; it now checks can() first.
  • Added unit test: t/ok_map_unknown_method.t

Modules

Lightweight Routing Framework.
Cookbook for Map::Tube library.
Class to represent the line in the map.
Class to represent the station in the map.
Class to load plugins for Map::Tube.
Class to represent the route in the map.
Class to represent the table in the map.
Attribute type definition for Map::Tube.
Helper package for Map::Tube.
Module for testing Map::Tube data and features.