iPodDB::Database - iPod music database


iPodDB documentation Contained in the iPodDB distribution.

Index


Code Index:

NAME

Top

iPodDB::Database - iPod music database

SYNOPSIS

Top

    my $database = iPodDB::Database->new( $file );

DESCRIPTION

Top

This module encapsulates the iPod database.

METHODS

Top

new( $file )

Loads the iPod database. Returns undef if a failure occurs.

SEE ALSO

Top

* Mac::iPod::DB

AUTHOR

Top

* Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Top


iPodDB documentation Contained in the iPodDB distribution.
package iPodDB::Database;

use base qw( Mac::iPod::DB );

use strict;
use warnings;

our $VERSION = '0.01';

sub new {
    my $class = shift;
    my $file  = shift;
    my $self;

    eval{ $self = $class->SUPER::new( $file ); };

    return undef unless $self;

    bless $self, $class;

    return $self;
}

1;