blib/lib/auto/share/dist/Clustericious/tmpl/1.08/client/lib/APPCLASS/Client.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 % my $class = shift;
2 package <%= $class %>::Client;
3  
4 =head1 NAME
5  
6 <%= $class %>::Client - <%= $class %> Client
7  
8 =head1 SYNOPSIS
9  
10 my $c = <%= $class %>::Client->new();
11 my $msg = $c->welcome or die $c->errorstring;
12  
13 =head1 METHODS
14  
15 =cut
16  
17 use strict;
18 use warnings;
19  
20 use Clustericious::Client;
21  
22 our $VERSION = '0.01';
23  
24 =head2 welcome
25  
26 Get a welcome message.
27  
28 Arguments :
29 verbose : be verbose
30  
31 =cut
32  
33 route 'welcome' => 'GET', '/';
34 route_args 'welcome' => [
35 { name => 'verbose', type => '=s', modifies_url => 'query' },
36 ];
37  
38 =head1 SEE ALSO
39  
40 <%= lc $class.'client' %>
41  
42 =cut
43  
44 1;
45