Algorithm-NCS
view release on metacpan or search on metacpan
Algorithm-NCS/lib/Algorithm/NCS.pm view on Meta::CPAN
# Preloaded methods go here.
sub ncs{
return 0 unless defined $_[0] and defined $_[1] and $_[0] ne "" and $_[1] ne "" ;
return xs_ncs ([unpack('U*', $_[0])], [unpack('U*', $_[1])] );
}
1;
__END__
# Below is stub documentation for your module. You'd better edit it!
=head1 NAME
Algorithm::NCS - Fast Perl extension for sequence alignment.
=head1 SYNOPSIS
use Algorithm::NCS;
Algorthm::NCS::ncs("ABC", "ADC");
( run in 0.401 second using v1.01-cache-2.11-cpan-de7293f3b23 )