Skip to content

Commit 5d8f5c7

Browse files
committed
issue #3 "Use of uninitialized value $sMethodName" problem
Fixing: Use of uninitialized value $sMethodName in pattern match (m//) at /home/User/perl5/lib/perl5/Doxygen/Filter/Perl.pm line 679. (and further lines)
1 parent a86bc66 commit 5d8f5c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Doxygen/Filter/Perl.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,8 @@ sub _ProcessPerlMethod
673673
push (@{$self->{'_hData'}->{'class'}->{$sClassName}->{'subroutineorder'}}, $sName);
674674
$self->{'_sCurrentMethodName'} = $sName;
675675
}
676+
if (!defined($self->{'_sCurrentMethodName'})) {$self->{'_sCurrentMethodName'}='';}
677+
676678
my $sMethodName = $self->{'_sCurrentMethodName'};
677679

678680
# Lets find out if this is a public or private method/function based on a naming standard

0 commit comments

Comments
 (0)