Léon Brocard

NAME

Mac::EyeTV::Channel - An EyeTV channel

SYNOPSIS

  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

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

METHODS

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

Leon Brocard <acme@astray.com>.

COPYRIGHT

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.