blib/lib/Net/MRT.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« MRT.xs ↑ Summary
1 # Copyright (C) 2013 MaxiM Basunov <maxim.basunov@gmail.com>
2 # All rights reserved.
3 #
4 # This program is free software; you may redistribute it and/or
5 # modify it under the same terms as Perl itself.
6  
7 # $Id$
8  
9 package Net::MRT;
10  
11 2 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 require Exporter;
16  
17 our @ISA = qw(Exporter);
18  
19 # Items to export into callers namespace by default. Note: do not export
20 # names by default without a very good reason. Use EXPORT_OK instead.
21 # Do not simply export all your public functions/methods/constants.
22  
23 # This allows declaration use Net::MRT ':all';
24 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
25 # will save memory.
26 our %EXPORT_TAGS = ( 'all' => [ qw(
27 @BGP_ORIGIN
28 ) ] );
29  
30 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
31  
32 our @EXPORT = qw(
33  
34 );
35  
36 our $VERSION = '0.05';
37  
38 require XSLoader;
39 XSLoader::load('Net::MRT', $VERSION);
40  
41 # Helper arrays
42 our @BGP_ORIGIN = ('IGP', 'EGP', 'INCOMPLETE');
43  
44 # Preloaded methods go here.
45  
46 1;
47 __END__
« MRT.xs ↑ Summary