Sort/Sub/by_first_num_in_text.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Sort/Sub/by_rand.pm ↑ Summary Sort/Sub/randomly.pm »
1 package Sort::Sub::by_first_num_in_text;
2  
3 2 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 require Sort::Sub::by_num_in_text;
7 2 *gen_sorter = \&Sort::Sub::by_num_in_text::gen_sorter;
8 2 *meta = \&Sort::Sub::by_num_in_text::meta;
9  
10 2 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
11 2 our $DATE = '2024-07-17'; # DATE
12 2 our $DIST = 'Sort-Sub'; # DIST
13 2 our $VERSION = '0.121'; # VERSION
14  
15 2 1;
16 # ABSTRACT: Sort by first number found in text or (if no number is found) ascibetically
17  
18 __END__
« Sort/Sub/by_rand.pm ↑ Summary Sort/Sub/randomly.pm »