Man pages sections > man3 > Data::Phrasebook::Loader::Base

Data::Phrasebook::Loader::Base - Base loader plugin class.

Data::Phrasebook::Loader::Base(3pm) User Contributed Perl Documentation Data::Phrasebook::Loader::Base(3pm)

NAME

Data::Phrasebook::Loader::Base - Base loader plugin class.

SYNOPSIS

  $class->new( %attributes );

DESCRIPTION

"Data::Phrasebook::Loader::Base" acts as a base class for phrasebook plugins.

CONSTRUCTOR

new

"new" instantiates the plugin object, creating a blessed hash of any attributes passed as arguments.

INHERITABLE METHODS

load

"load" is an abstract method here. You must define your own in your subclass. Loads the phrasebook.

get

"get" is an abstract method here. You must define your own in your subclass. Gets the phrase.

dicts

"dicts" is an abstract method here. You must define your own in your subclass. Returns the list of dictionaries available.

keywords

"keywords" is an abstract method here. You must define your own in your subclass. Returns the list of keywords available.

class

Returns the current "class" of loader.

SEE ALSO

Data::Phrasebook, Data::Phrasebook::Loader.

SUPPORT

Please see the README file.

AUTHOR

  Barbie, <barbie@cpan.org>
  for Miss Barbell Productions <http://www.missbarbell.co.uk>.
  Copyright (C) 2004-2013 Barbie for Miss Barbell Productions.
  This distribution is free software; you can redistribute it and/or
  modify it under the Artistic License v2.
2014-08-20 perl v5.20.1