Barbie > Data-Phrasebook-0.33 > Data::Phrasebook::Loader::Base

Download:
Data-Phrasebook-0.33.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.33   Source   Latest Release: Data-Phrasebook-0.34

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-2012 Barbie for Miss Barbell Productions.

  This module is free software; you can redistribute it and/or
  modify it under the Artistic License v2.
syntax highlighting: