TacacsPlus.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TacacsPlus/Packet/AccountReplyBody.pm ↑ Summary
1 package Net::TacacsPlus;
2  
3 =head1 NAME
4  
5 Net::TacacsPlus - Tacacs+ library
6  
7 =head1 SYNOPSYS
8  
9 use Net::TacacsPlus qw{ tacacs_client };
10
11 my $client = tacacs_client(
12 'host' => 'tacacs.server',
13 'key' => 'secret',
14 );
15  
16 =head1 DESCRIPTION
17  
18 Tacacs+ client implemented by L<Net::TacacsPlus::Client>.
19  
20 =cut
21  
22 2 our $VERSION = '1.10';
23  
24 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 2 ▶use Net::TacacsPlus::Client 1.06;
Subroutine BEGIN: called CC=1 SCAR=0.0
28  
29 2 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
30 2 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
31  
32 2 our @ISA = ('Exporter');
33 2 our @EXPORT_OK = ('tacacs_client');
34  
35 =head1 FUNCTIONS
36  
37 =over 4
38  
39 =item tacacs_client(@arg)
40  
41 Returns L<Net::TacacsPlus::Client> object created with @arg.
42  
43 =cut
44  
45 1 ▶sub tacacs_client {
Subroutine tacacs_client: called CC=1 SCAR=0.0
Pod documented
46 1 my @arg = @_;
47
48 1 return Net::TacacsPlus::Client->new(@arg);
49 }
50  
51 =back
52  
53 =cut
54  
55 2 1;
56  
57 =head1 AUTHOR
58  
59 Jozef Kutej - E<lt>jkutej@cpan.orgE<gt>
60  
61 =head1 CONTRIBUTORS
62
63 The following people have contributed to the Net::TacacsPlus by committing their
64 code, sending patches, reporting bugs, asking questions, suggesting useful
65 advises, nitpicking, chatting on IRC or commenting on my blog (in no particular
66 order):
67  
68 Rubio Vaughan
69 Derik
70 Neal Gooch
71 Douglas Christopher Wilson
72 Dibarbora Radoslav
73  
74 =head1 SEE ALSO
75  
76 tac-rfc.1.78.txt
77  
78 =head1 COPYRIGHT AND LICENSE
79  
80 Copyright (C) 2006 by Jozef Kutej
81  
82 This library is free software; you can redistribute it and/or modify
83 it under the same terms as Perl itself, either Perl version 5.8.4 or,
84 at your option, any later version of Perl 5 you may have available.
85  
86 =cut
« TacacsPlus/Packet/AccountReplyBody.pm ↑ Summary