| Hoppy documentation | Contained in the Hoppy distribution. |
Hoppy::TCPHandler - multi-declaration of TCPHandler classes.
use Hoppy::TCPHandler;
"use Hoppy::TCPHandler" works same as bellows.
use Hoppy::TCPHandler::Input; use Hoppy::TCPHandler::Connected; use Hoppy::TCPHandler::Disconnected; use Hoppy::TCPHandler::Error; use Hoppy::TCPHandler::Send;
Takeshi Miki <miki@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Hoppy documentation | Contained in the Hoppy distribution. |
package Hoppy::TCPHandler; use strict; use warnings; sub Hoppy::TCPHandler::import { my $package = ( caller() )[0]; eval <<" END"; package $package; # load the handler packages use Hoppy::TCPHandler::Input; use Hoppy::TCPHandler::Connected; use Hoppy::TCPHandler::Disconnected; use Hoppy::TCPHandler::Error; use Hoppy::TCPHandler::Send; END } 1; __END__