Subject: | Can't locate IO/Scalar.pm |
It seems that IO::Scalar has to be declared as a prerequisite, otherwise the test suite fails if it is missing:
...
PERL_DL_NONLAZY=1 "/usr/local/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Can't locate IO/Scalar.pm in @INC (you may need to install the IO::Scalar module) (@INC contains: ... .) at /usr/home/cpansand/.cpan/build/2020010621/Spreadsheet-WriteExcel-FromXML-1.1-2/blib/lib/Spreadsheet/WriteExcel/FromXML.pm line 9.
BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2020010621/Spreadsheet-WriteExcel-FromXML-1.1-2/blib/lib/Spreadsheet/WriteExcel/FromXML.pm line 9.
Compilation failed in require at t/01use.t line 5.
BEGIN failed--compilation aborted at t/01use.t line 5.
t/01use.t ........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
...
(Or alternatively: the "open" function in modern perls may also work on scalars, so maybe using this would be a solution)