Mac::EyeTV::Channel - An EyeTV channel


Mac-EyeTV documentation Contained in the Mac-EyeTV distribution.

Index


Code Index:

NAME

Top

Mac::EyeTV::Channel - An EyeTV channel

SYNOPSIS

Top

  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";
  }

DESCRIPTION

Top

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

METHODS

Top

name

The name() method returns the name of the channel:

  my $name    = $channel->name;

number

The number() method returns the channel number of the channel:

  my $number  = $channel->number;

AUTHOR

Top

Leon Brocard <acme@astray.com>.

COPYRIGHT

Top


Mac-EyeTV documentation Contained in the Mac-EyeTV distribution.

package Mac::EyeTV::Channel;
use strict;
use warnings;
use base qw(Class::Accessor::Fast);
__PACKAGE__->mk_accessors(qw(channel name number enabled));

1;

__END__