in reply to Re: Sort path strings by component count.in thread Sort path strings by component count.
perl's m// doesn't give you a count of matches