TV::Anytime::Group - Represent a program group
print " ID: " . $group->id . "\n"; print " Title: " . $group->title . "\n"; print "Series: " . $group->is_series . "\n"; print " $_\n" foreach $group->members; print " isa $_\n" foreach $group->parents;
The TV::Anytime::Group represents a program group, such as categorisation of programs or a series.
head2 id
This returns the ID of the group:
print " ID: " . $group->id . "\n";
This returns a list of the member IDs of the group:
print " $_\n" foreach $group->members;
This returns a list of the parent IDs of the group:
print " isa $_\n" foreach $group->parents;
This returns the title of the group:
print " Title: " . $group->title . "\n";
This returns whether the group is a series (or instead a group of groups):
print "Series: " . $group->is_series . "\n";
TV::Anytime
Please report any bugs or feature requests to bug-TV-Anytime@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-TV-Anytime@rt.cpan.org
Leon Brocard acme@astray.com
acme@astray.com
Copyright (c) 2005, Leon Brocard acme@astray.com. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install TV::Anytime, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TV::Anytime
CPAN shell
perl -MCPAN -e shell install TV::Anytime
For more information on module installation, please visit the detailed CPAN module installation guide.