Data::Phrasebook::Loader - Plugin Loader module


NAME

Data::Phrasebook::Loader - Plugin Loader module


SYNOPSIS

  my $loader = Data::Phrasebook::Loader->new( class => 'Text' );


DESCRIPTION

Data::Phrasebook::Loader acts as an autoloader for phrasebook plugins.


CONSTRUCTOR

new

new takes one optional named argument: the class. It returns a new instance to the class. Any further arguments to new are given to the new method of the appropriate class.

If no class is specified the default class of 'Text' is used.

  my $loader = Data::Phrasebook::Loader->new();
  OR
  my $loader = Data::Phrasebook::Loader->new( class => 'Text' );


SEE ALSO

the Data::Phrasebook manpage.

Known implementations

the Data::Phrasebook::Loader::Text manpage, the Data::Phrasebook::Loader::YAML manpage, the Data::Phrasebook::Loader::Ini manpage, the Data::Phrasebook::Loader::XML manpage, the Data::Phrasebook::Loader::DBI manpage.


SUPPORT

Please see the README file.


AUTHOR

  Original author: Iain Campbell Truskett (16.07.1979 - 29.12.2003)
  Maintainer: Barbie <barbie@cpan.org> since January 2004.
  for Miss Barbell Productions <http://www.missbarbell.co.uk>;.


COPYRIGHT AND LICENSE

  Copyright (C) 2003 Iain Truskett.
  Copyright (C) 2004-2007 Barbie for Miss Barbell Productions.
  This library is free software; you can redistribute it and/or modify
  it under the same terms as Perl itself.

The full text of the licenses can be found in the Artistic and COPYING files included with this module, or in the perlartistic manpage and the perlgpl manpage in Perl 5.8.1 or later.