Net::SinFP3::Mode - base class for Mode plugin objects
use base qw(Net::SinFP3::Mode); # Your Mode plugin code
This is the base class for all Net::SinFP3::Mode plugins.
The global object containing global parameters and pointers to currently executing plugins.
Object constructor. You must give it the following attributes: global.
Return an array ref of allowed Next object types.
Do some initialization by writing this method.
To use when you are ready to launch the main loop.
Do some cleanup by writing this method. post is run in the middle of main Net::SinFP3 loop postlude. The exact order is:
output->post > search->post > mode->post > db->post > input->post
Execute this action right after a Net::SinFP3::Search plugin run method. This can be used, for instance, to modify search results.
Patrice <GomoR> Auffret
Copyright (c) 2011-2015, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.