Subject: | warnings of "Use of uninitialized value in subtraction" |
Parse/RecDescent.pm contains the following line (1885):
$line = $lines[-1] - _linecount($grammar) + 1;
If the @lines is empty then under test harnesses gazillions of
warnings are emitted:
Use of uninitialized value in subtraction....
A fix to
$line = $lines[-1] || 0 - _linecount($grammar) + 1;
makes the world peaceful again.
\rho