in reply to
Re: Finding duplicated code in Perl
in thread Finding duplicated code in Perl
True, but I understand it means the answer to "do you know any existing tool" is "no"..
From www.onjava.com I got this:
"CPD could be adapted to work with C, C++, PHP, Ruby, Perl, or any other language for which a tokenizer exists. There could be a runtime toggle to select which language to parse."
In case I can fit to the existed interface of CPD I won't need to develop a tool of my own.
I believe what they mean in tokenizer can be some kind of modified B::* module.
Am I on the right track ?