Reflex::Callback - Generic callback adapters to simplify calling back
version 0.060
Varies. See individual Reflex::Callback subclasses.
Reflex::Callback and its subclasses implement the different types of calbacks that Reflex supports. Reflex::Callbacks provides convenience functions that are almost always used instead of Reflex::Callback objects.
Reflex::Callback's generic interface is a constructor and a single method, deliver(), which routes its parameters to their destination. Subclasses may implement additional methods to support specific use cases.
Constructor parameters vary from one subclass to another.
All deliver() methods take two positional parameters: the name of an event being delivered, and a hashref of named parameters for the callback. Not all subclasses actually use the event name, however.
Reflex Reflex::Callback::CodeRef Reflex::Callback::Method Reflex::Callback::Promise Reflex::Callbacks documents callback convenience functions.
"ACKNOWLEDGEMENTS" in Reflex "ASSISTANCE" in Reflex "AUTHORS" in Reflex "BUGS" in Reflex "BUGS" in Reflex "CONTRIBUTORS" in Reflex "COPYRIGHT" in Reflex "LICENSE" in Reflex "TODO" in Reflex
To install Reflex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reflex
CPAN shell
perl -MCPAN -e shell install Reflex
For more information on module installation, please visit the detailed CPAN module installation guide.