Julian Mehnle > WWW-Restaurant-Menu-0.11 > WWW::Restaurant::DE::Munich::Edison::Menu::Lunch

Download:
www-restaurant-menu/WWW-Restaurant-Menu-0.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.11   Source  

NAME ^

WWW::Restaurant::DE::Munich::Edison::Menu::Lunch - A Perl class for querying the online lunch menu of the Munich restaurant "Edison".

VERSION ^

0.11

SYNOPSIS ^

    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;

DESCRIPTION ^

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.

Constructor

The following constructor is provided:

new: RETURNS WWW::Restaurant::DE::Munich::Edison::Menu::Lunch

Creates a new WWW::Restaurant::DE::Munich::Edison::Menu::Lunch object.

Instance methods

The following instance methods are provided:

items
starters
meals
desserts
drinks

See "Instance methods" in WWW::Restaurant::Menu for a description of these instance methods.

currency: RETURNS SCALAR

Returns "\x{20ac}" (Euro Sign).

raw: RETURNS SCALAR

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.

SEE ALSO ^

For COPYRIGHT and LICENSE information, see WWW::Restaurant::Menu::Overview.

AUTHOR ^

Julian Mehnle <julian@mehnle.net>

syntax highlighting: