http://www.perlmonks.org?node_id=1191288


in reply to Re: Sorting files by 3 numbers in the name
in thread Sorting files by 3 numbers in the name

FWIW it's certainly faster your way, but personally I'd rather go for named matches, for the sake of readability.

See %+ in perlretut#Named-backreferences . :)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!