Skip Menu |

This queue is for tickets about the Text-German CPAN distribution.

Report information
The Basics
Id: 12022
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Text-German

People
Owner: ULPFR [...] cpan.org
Requestors: marcus [...] thiesen.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: 0.03



Subject: Another warning in Text::German
Another warning given is Use of uninitialized value in bitwise and (&) at /usr/local/share/perl/5.8.4/Text/German/Endung.pm line 63. which can be fixed by replacing for $i (1 .. length($word)) { my $endung = substr($word, length($word)-$i,$i); if (defined $ENDUNG{$endung} and ($ENDUNG{$endung}->[1] & $class)) { $result = $endung with for $i (1 .. length($word)) { my $endung = substr($word, length($word)-$i,$i); if (defined $ENDUNG{$endung} && defined $ENDUNG{$endung}->[1] and ($ENDUNG{$endung}->[1] & $class)) { $result = $endung
Applied you patch and uploaded as 0.06. Thanks