in reply to Re^3: Log::Any with die and carp
in thread Log::Any with die and carp

Log::ger basically has all the features of Log::Any plus more, with less impact to your module users.

Thanks very much for this comparative analysis. I was entirely ignorant of Log::ger before this and therefore was using Log::Any effectively by default. Your post gives encouragement to try Log::ger as a lightweight replacement.

One minor off-topic nugget is that sort has a -u option which essentially replaces a vanilla sort | uniq and thereby saves you a process and could make the sort faster (dataset depending, of course).

Replies are listed 'Best First'.
Re^5: Log::Any with die and carp
by perlancar (Hermit) on Dec 20, 2018 at 12:21 UTC
    You're welcome. Thanks for sort -u. I should know that, but sort | uniq has been in my muscle memory for god knows how many years.