in reply to
Re^2: Finding common substrings
in thread
Finding common substrings
actually, it won't, because the first foreach only sets to 1 and not ++, and the second foreach only does ++ it if already exists, which means it was already found in
$a
.
Comment on
Re^3: Finding common substrings
Download
Code
Replies are listed 'Best First'.
Re^4: Finding common substrings
by
johngg
(Canon)
on Sep 21, 2006 at 20:50 UTC
Doh! I must be going mad :(
Sorry,
JohnGG
[reply]
In Section
Seekers of Perl Wisdom