in reply to Re: Custom Sort Array
in thread Custom Sort Array

I think you meant
my ($A) = $a =~ /(\d+)\.gz$/; my ($B) = $b =~ /(\d+)\.gz$/;