Prev Next Index | Page 12/16 |
use Sort::Maker qw( make_sorter sorter_source ) ; foreach my $style ( qw( plain orcish ST GRT ) ) { my $sorter = make_sorter( $style, string => { code => qr/^foo(\w+)/, }, number => { code => qr/(\d+)$/, } ) ; print sorter_source( $sorter ) ; }
Prev Next Index Contents | © 2011 Uri Guttman | Page 12/16 |