preaction / Log-Any

Simple, fast Perl logging API compatible with any logging system
Other
13 stars 19 forks source link

t/proxy-with-stack-trace.t uses List::Util::any #103

Open dakkar opened 1 year ago

dakkar commented 1 year ago

any was added to List::Util in version 1.33, but nothing declares it a dependency

perls before 5.20 don't have 1.33 in core, and tests fail

lib/Log/Any/Adapter/Multiplex.pm has a comment saying Not using List::Util::any because it could break older perl builds, so using grep in the test could also be an option

XSven commented 8 months ago

would be good if this could be fixed short-term. List::Util seems to be a dual-life module. As such an alternative fix could be to configure it as a TEST_REQUIRES dependency with 1.33 as its minimum version.