Subject: | Undefined subroutine &bytes::substr called |
I found the diagnostic line in the report http://www.cpantesters.org/cpan/report/8b9b9686-3d49-11e3-91c1-fbd8f24aa4a3
I turns out that somebody decides to use XML::Parser or XML::LibXML for parsing. When th decision goes in favor of XML::Parser, then this error occurs, but when the decision goes in favor of LibXML, then somebody loads bytes.pm and so the function call bytes::substr() succeeds.
My fix:
--- lib/MARC/Moose/Parser/Iso2709.pm~ 2013-10-28 17:08:07.765789477 +0100
+++ lib/MARC/Moose/Parser/Iso2709.pm 2013-10-28 17:08:21.462173010 +0100
@@ -7,6 +7,7 @@
use Moose;
use 5.010;
use utf8;
+require bytes;
extends 'MARC::Moose::Parser';
Thanks && Regards,