File Coverage

blib/lib/AnyMQ/RawSocket.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package AnyMQ::RawSocket;
2              
3 1     1   22953 use 5.006;
  1         4  
  1         39  
4              
5 1     1   857 use Any::Moose;
  1         79481  
  1         6  
6              
7             =head1 NAME
8              
9             AnyMQ::ZeroMQ - AnyMQ using just a socket and JSON.
10              
11             =head1 VERSION
12              
13             Version 0.01
14              
15             =cut
16              
17             our $VERSION = '0.02';
18              
19             =head1 SYNOPSIS
20              
21             my $bus = AnyMQ->new_with_traits(
22             traits => ['RawSocket'],
23              
24             # listener socket
25             address => '0.0.0.0:4000',
26             );
27              
28             # see AnyMQ docs for usage
29              
30             =head1 SEE ALSO
31              
32             L<AnyMQ>, L<Web::Hippie>, L<Web::Hippie::PubSub>
33              
34             =head1 AUTHOR
35              
36             Mischa Spiegelmock, C<< <revmischa at cpan.org> >>
37              
38             =head1 LICENSE AND COPYRIGHT
39              
40             Copyright 2012 Mischa Spiegelmock.
41              
42             This program is free software; you can redistribute it and/or modify it
43             under the terms of either: the GNU General Public License as published
44             by the Free Software Foundation; or the Artistic License.
45              
46             See http://dev.perl.org/licenses/ for more information.
47              
48              
49             =cut
50              
51             1; # End of AnyMQ::ZeroMQ