| 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__ | ||