'use Term::Cap' produces a warning when diagnosics are active. The
patch below avoids the warning.
[The $entry .= $_ usage is idiomatic enough that it ought to be
ok, I would think, but the patch certainly is ok too.]
last;
}
}
- $entry .= $_;
+ if (defined $entry) {
+ $entry .= $_;
+ } else {
+ $entry = $_;
+ }
};
while ($state != 0) {