
Mac::EyeTV::Channel - An EyeTV channel

use Mac::EyeTV;
my $eyetv = Mac::EyeTV->new();
foreach my $channel ($eyetv->channels) {
my $name = $channel->name;
my $number = $channel->number;
print "$number $name\n";
}

This module represents an EyeTV channel. The channels() method in Mac::EyeTV returns a list of Mac::EyeTV::Channel objects.

The name() method returns the name of the channel:
my $name = $channel->name;
The number() method returns the channel number of the channel:
my $number = $channel->number;

Leon Brocard <acme@astray.com>.

Copyright (C) 2004-5, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.