Reflex::Role::Collectible - add manageability by Reflex::Collection
version 0.060
package Bauble; use Moose; with 'Reflex::Role::Collectible'; sub stop { my $self = shift; $self->stopped(); } 1;
Reflex::Role::Collectible allows consumers to be managed by Reflex::Collection. This role provides a stopped() method that causes the Collectible object to be removed from any Collections that contain it.
For example, a TCP server may use Reflex::Collection to manage a pool of active Reflex::Stream objects, each representing a single client connection. Reflex::Stream calls stopped() by default whenever sockets close or encounter errors, and the server dutifly deletes them.
TODO - I'm sure there are some.
Reflex Reflex::Collection Reflex::Stream
"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.