diff --git a/lib/Doxygen/Filter/Perl.pm b/lib/Doxygen/Filter/Perl.pm index d887c4e..afab7e4 100644 --- a/lib/Doxygen/Filter/Perl.pm +++ b/lib/Doxygen/Filter/Perl.pm @@ -667,7 +667,10 @@ sub _PrintClassBlock { if (defined($inherit)) { - print(($count++ == 0 ? ": " : ", ")." public ::".$inherit); + if ($sFullClass ne $inherit) + { + print(($count++ == 0 ? ": " : ", ")." public ::".$inherit); + } } }