Brian Cassidy > WWW-EmpireTheatres > WWW::EmpireTheatres::Cinema

Download:
WWW-EmpireTheatres-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

WWW::EmpireTheatres::Cinema - A class representing a cinema

SYNOPSIS ^

    # what films are playing?
    for my $film ( @{ $cinemas->films } ) {
        printf( "%s\n", $film->title );
    }

    # when is it playing?
    for my $showtime ( @{ $cinema->showtimes( film => $film ) } ) {
        printf( "%s\n", $showtime->datetime );
    }

DESCRIPTION ^

This class represents a cinema. You can find out what films playing and when.

METHODS ^

new( [\%options] )

Creates a new WWW::EmpireTheatres::Cinema object.

showtimes( film => $film [, date => $date ] )

Find out when $film is playing @ $cinema.

films( )

Find out which films are playing at this cinema.

name( )

The name of the cinema.

city( )

The city where the cinema is located.

province( )

The province where the cinema is located

link( )

A link to the listing of films playing at this cinema.

id( )

The internal id used on the website.

parent( )

The parent WWW::EmpireTheatres object.

AUTHOR ^

COPYRIGHT AND LICENSE ^

Copyright 2007 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: