perl's m// doesn't give you a count of matchesPerl Idioms Explained - my $count = () = /.../g
In reply to Re^2: Sort path strings by component count.
by Roy Johnson
in thread Sort path strings by component count.
by superfrink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |