File Coverage

blib/lib/Net/Fix/Checksum/XS.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package Net::Fix::Checksum::XS;
2              
3 1     1   15230 use 5.008000;
  1         6  
4 1     1   9 use strict;
  1         3  
  1         32  
5 1     1   9 use warnings;
  1         12  
  1         194  
6              
7             require Exporter;
8              
9             our @ISA = qw(Exporter);
10              
11             # Items to export into callers namespace by default. Note: do not export
12             # names by default without a very good reason. Use EXPORT_OK instead.
13             # Do not simply export all your public functions/methods/constants.
14              
15             # This allows declaration use Net::Fix::Checksum::XS ':all';
16             # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
17             # will save memory.
18             our %EXPORT_TAGS = ( 'all' => [ qw(
19             generate_checksum
20             replace_checksum
21             validate_checksum
22             ) ] );
23              
24             our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
25              
26             our @EXPORT = qw();
27              
28             our $VERSION = '0.03';
29              
30             require XSLoader;
31             XSLoader::load('Net::Fix::Checksum::XS', $VERSION);
32              
33             # Preloaded methods go here.
34              
35             1;
36             __END__