Subject: | Unused variable $error in SAX/PurePerl/EncodingDetect.pm |
Line 10 of EncodingDetect.pm declares and sets the lexical variable $error, see
https://metacpan.org/source/GRANTM/XML-SAX-0.99/SAX/PurePerl/EncodingDetect.pm#L10
But this variable is never used. Maybe it was meant to be used at the end of the function in the warn() call?