In this answer, I saw the syntax <=>
; what does this mean? It seems to be some sort of comparison based on the context, but that's all I can gather. Partial context:
sub rev_by_date { $b->[9] <=> $a->[9] }
my @sorted_files = sort rev_by_date @files;