Created
October 5, 2011 20:54
-
-
Save reyjrar/1265688 to your computer and use it in GitHub Desktop.
MooseX::POE Simple STDOUT Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package dns::monitor::plugin::sniffer::log::dest::stdout; | |
use Moose; | |
extends 'dns::monitor::plugin::sniffer::log'; | |
sub write { | |
my ($self,$line) = @_; | |
print $line,"\n"; | |
} | |
with 'dns::monitor::plugin::sniffer::log::dest'; | |
no Moose; | |
__PACKAGE__->meta->make_immutable(); | |
1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment