WWW::Restaurant::DE::Munich::Edison::Menu::Lunch - A Perl class for querying the online lunch menu of the Munich restaurant "Edison".
0.11
use WWW::Restaurant::DE::Munich::Edison::Menu::Lunch; # Construction: my $menu = WWW::Restaurant::DE::Munich::Edison::Menu::Lunch->new(); # Get all menu items, in order: my @items = $menu->items; # Get menu items by class: my @starters = $menu->starters; my @meals = $menu->meals; my @desserts = $menu->desserts; my @drinks = $menu->drinks; # Currently not supported by Edison. # Get currency of item prices: my $currency = $menu->currency; # "\x{20ac}" (Euro Sign) # Get relevant raw HTML part of the lunch menu web resource: my $raw = $menu->raw;
This is a Perl class for querying the online lunch menu of the Munich restaurant "Edison", which is available at http://www.edisonundco.de/mittag.htm.
The following constructor is provided:
Creates a new WWW::Restaurant::DE::Munich::Edison::Menu::Lunch object.
WWW::Restaurant::DE::Munich::Edison::Menu::Lunch
The following instance methods are provided:
See "Instance methods" in WWW::Restaurant::Menu for a description of these instance methods.
Returns "\x{20ac}" (Euro Sign).
Returns a string containing the relevant raw HTML part of the lunch menu web resource. For instance, this could be useful for inclusion in another HTML web resource or an HTML mail message.
For COPYRIGHT and LICENSE information, see WWW::Restaurant::Menu::Overview.
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.