Sort-Radix reviews

cpanratings
 

RSS | Module Info | Add a review of Sort-Radix

Sort-Radix (0.01) *

use strict;
use warnings;

use Sort::Radix;

my @array = qw(flow loop pool Wolf root sort tour);
radix_sort(\@array);
print "@array\n";

from search.cpan.org/~ewijaya/Sort-Radix-0... yields:

C:\Temp> t
Undefined subroutine &Sort::Radix::radix_sort called at C:\Temp\t.pl line 7.

This seems to be because the sub radix_sort is placed _after_ the __END__ marker in the module file.

Fixing that yields:

C:\Temp> t
Argument "flow" isn't numeric in subtraction (-) at Sort/Radix.pm line 44.
Wolf flow loop pool root sort tour