in reply to [perlre/perlgolf] Golf this: return -1 or return +1 on regexp subroutine please
sub by_priority { ($a cmp$b,grep$_,map$b=~/$_/-$a=~/$_/,FAQ,SERVICE,ORGANIZATION)[-1] } [download]