| 1 | package FASTX::XS; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use 5.010; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 1 | our $VERSION = '0.0.4'; | |||||||||
| 8 | |||||||||||
| 9 | 1 | require XSLoader; | |||||||||
| 10 | 1 | XSLoader::load('FASTX::XS', $VERSION); | |||||||||
| 11 | |||||||||||
| 12 | 1 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=3 SCAR=11.4
Pod
documented
| |||||||||||
| 13 | 1 | my ($class, $filename) = @_; | |||||||||
| 14 | 1 | ▶ | die "Filename required" unless defined $filename; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | 1 | ▶ | die "File not found: $filename" unless -e $filename; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | |||||||||||
| 17 | 1 | return _xs_new($class, $filename); | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 1 | 1; | |||||||||
| 21 | |||||||||||
| 22 | __END__ | ||||||||||