Ricardo SIGNES

NAME

App::Addex::AddressBook - the address book that addex will consult

VERSION

version 0.026

METHODS

new

  my $addr_book = App::Addex::AddressBook->new(\%arg);

This method returns a new AddressBook. Its implementation details are left up to the subclasses, but it must accept a hashref as its first argument.

Valid arguments are:

  addex - required; the App::Addex object using this address book

addex

  my $addex = $addr_book->addex;

This returns the App::Addex object with which the address book is associated.

entries

  my @entries = $addex->entries;

This method returns the entries in the address book as App::Addex::Entry objects. Its behavior in scalar context is not yet defined.

This method should be implemented by a address-book-implementation-specific subclass.

AUTHOR

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2006 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.