| blib/lib/File/ReplaceBytes.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 | # -*- Perl -*- | ||||||
| 2 | |||||||
| 3 | package File::ReplaceBytes; | ||||||
| 4 | |||||||
| 5 | 3 | 3 | 158159 | use 5.010000; | |||
| 3 | 19 | ||||||
| 6 | 3 | 3 | 21 | use strict; | |||
| 3 | 7 | ||||||
| 3 | 76 | ||||||
| 7 | 3 | 3 | 22 | use warnings; | |||
| 3 | 11 | ||||||
| 3 | 303 | ||||||
| 8 | |||||||
| 9 | require Exporter; | ||||||
| 10 | our @ISA = qw(Exporter); | ||||||
| 11 | our @EXPORT_OK = qw/pread pwrite replacebytes/; | ||||||
| 12 | |||||||
| 13 | our $VERSION = '1.01'; | ||||||
| 14 | |||||||
| 15 | require XSLoader; | ||||||
| 16 | XSLoader::load( 'File::ReplaceBytes', $VERSION ); | ||||||
| 17 | |||||||
| 18 | # see ReplaceBytes.xs for the code | ||||||
| 19 | |||||||
| 20 | 1; | ||||||
| 21 | __END__ |