Brian Cassidy > WWW-EmpireTheatres > WWW::EmpireTheatres::Film

Download:
WWW-EmpireTheatres-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.04   Source  

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 ^

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: