Scroll to navigation

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 AND LICENSE

  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.
2022-11-19 perl v5.36.0