The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::EmpireTheatres::Film - A class representing a film

SYNOPSIS

    # where is the film playing?
    for my $cinema ( @{ $film->cinemas } ) {
        printf( "%s (%s, %s)\n", $cinema->name, $cinema->city, $cinema->province );
    }

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

DESCRIPTION

This class represents a film. You can find out what cinemas it's playing and when it's playing.

METHODS

new( [\%options] )

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

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

Find out when $film is playing @ $cinema.

cinemas( )

Find out which cinemas have this film.

title( )

The title of the film.

link( )

A link to the listing of the cinemas that have this film.

id( )

The internal id used on the website.

parent( )

The parent WWW::EmpireTheatres object.

AUTHOR

  • Brian Cassidy <bricas@cpan.org>

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.