projects
/
urisagit/Sort-Maker.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
96d04d6650f0dbb6aff7c5c3bf77251e74be7ebe
[urisagit/Sort-Maker.git]
/
exp
/
num_NA.pl
1
#!/usr/local/bin/perl
2
3
use Sort::Maker ;
4
5
my $sorter = make_sorter( 'GRT', number => '/\D/ ? 0 : $_' ) ;
6
print "$@" unless $sorter ;
7
8
9
print map "$_\n", $sorter->( qw( 22 1 10 NA 33 NA ) ) ;
10
11
12
13