WWW::Restaurant::Menu::Overview - An introduction to the WWW::Restaurant::Menu class collection.
WWW::Restaurant::Menu is a collection of Perl classes for querying online menus of restaurants.
A menu class is directly or indirectly derived from WWW::Restaurant::Menu and represents a certain type of menu of a restaurant. Each restaurant's menu classes should be in the namespace WWW::Restaurant::CC::City::Restaurant::Menu, where:
is the ISO 3166 "alpha 2" two-letter country code of the country where the restaurant is located.
is the name of the city where the restaurant is located.
is the name of the restaurant (unique within the specified city, if possible).
For example, menu classes for John's Pub in London would be in the namespace WWW::Restaurant::GB::London::JohnsPub::Menu.
Every menu consists of menu items. A menu item class is directly or indirectly derived from WWW::Restaurant::Menu::Item.
For how menu objects give access to their menu items, see WWW::Restaurant::Menu. For how menu item objects give access to their properties, see WWW::Restaurant::Menu::Item.
The following prepared menu classes are included with this version of WWW::Restaurant::Menu (without the common WWW::Restaurant:: prefix):
WWW::Restaurant::
The lunch menu of the Munich restaurant Edison, which is available at http://www.edisonundco.de/mittag.htm
The following prepared menu item classes are included with this version of WWW::Restaurant::Menu (without the common WWW::Restaurant::Menu::Item:: prefix):
WWW::Restaurant::Menu::Item::
See WWW::Restaurant::Menu::Item for more information.
Just inherit a new class from WWW::Restaurant::Menu, and override the currency and query methods.
WWW::Restaurant::Menu, WWW::Restaurant::Menu::Item
WWW::Restaurant::Menu is Copyright (C) 2004-2005 Julian Mehnle <julian@mehnle.net>. All rights reserved.
WWW::Restaurant::Menu is free software. You may use, modify, and distribute it under the same terms as Perl itself, i.e. under the GNU GPL or the Artistic License.
Julian Mehnle <julian@mehnle.net>
To install WWW::Restaurant::Menu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Restaurant::Menu
CPAN shell
perl -MCPAN -e shell install WWW::Restaurant::Menu
For more information on module installation, please visit the detailed CPAN module installation guide.