This patch suppress some uninitialized value warning in config/inter/yacc.pm
when use --maintainer option at configure.
$ diffstat /tmp/yacc.patch
yacc.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
$prog_patch = defined $3 ? $3 : "";
Agree?
Thanks,
Jonathan
$3 come from line 88 of config/inter/yacc.pm
if ( $stdout =~ /Bison .*? (\d+) \. (\d+) (\w)?/x ) {
and I'm try this under Perl 5.8.8, and C<use warnings; use strict;>,
not get any warning about uninitialized value or similar.
But anyway, your advice is better than my patch. Please apply this
and I'll close [perl #41163].
Thanks.
Lee