http://www.perlmonks.org?node_id=274140


in reply to Re: Re: Find common prefix from a list of strings
in thread Find common prefix from a list of strings

Actually, there's one other "bug" - if there are never any matches, I will print out that the prefix is '' - well actually, as a zero-length string, that's actually not untrue, but still silly.

--Bob Niederman, http://bob-n.com