in reply to Re^2: Sorting out troubles with advanced-ish sort
in thread Sorting out troubles with advanced-ish sort

Since print operates on a list you could dispense with the

for my $line ( map { ... } sort { ... } map { ... } <DATA>) { print $line; }

and just do

print map { ... } sort { ... } map { ... } <DATA>;

without the need to assign each line before printing it. It looks a little easier to my eye.

Cheers,

JohnGG