diff --git a/README.md b/README.md index d1c696d66edd20f19d4d40ea1f44abf804bf1145..e5a672cf9f6fd8eda2523cf272017c5d6de49649 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,7 @@ Using cpanm is recommended for an assisted and clean uninstall. * `cpanm MARC::Record` * `cpanm XML::XPath` * `cpanm DateTime::Format::ISO8601` -11. All tests must process successfully and you are ready to go with Bag creation -12. If colors on console not visible, than add line `use Win32::Console::ANSI` in file `SLUB_SIP-Builder/bin/slubsipbuilderbagit.pl` above `use Term::ANSIColor;` - * `cpanm Win32::Console::ANSI` +11. All tests must process successfully and you are ready to go with Bag creation. ## Documentation * Project based on BagIt 1.0 specification, visit [RFC8493](https://tools.ietf.org/html/rfc8493) diff --git a/bin/slubsipbuilderbagit.pl b/bin/slubsipbuilderbagit.pl index 5d99a916c8521a00cc25d521121b7c0c67a94e39..e6ff95e02d7bd491e20e6ad9e7a195b1b91032db 100644 --- a/bin/slubsipbuilderbagit.pl +++ b/bin/slubsipbuilderbagit.pl @@ -543,6 +543,7 @@ BEGIN{ ## no critic $INC{'SLUB/LZA/SIPBuilderBagIt.pm'} = 1; # needed because inlined module ## use critic + use if $^O eq 'MSWin32', Win32::Console::ANSI::; } return 1 if caller; # avoids main code running if module stuff is needed