in reply to Re: List::BinarySearch and conditional tests with Test::More
in thread List::BinarySearch and conditional tests with Test::More

Fantastic davido... thank you for going through all the details.

I'll check out if implementing those changes would avoid those errors and warnings without breaking anything and I'll let you know.

Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill
  • Comment on Re^2: List::BinarySearch and conditional tests with Test::More

Replies are listed 'Best First'.
Re^3: List::BinarySearch and conditional tests with Test::More
by davido (Cardinal) on Dec 01, 2014 at 16:58 UTC

    For what it's worth, I put out a new version of List::BinarySearch today. The difference is subtle, and probably unimportant: In the previous version there was always a custom import, and that function did different things based on the Perl version number. In the new version there is only a custom import under versions of Perl that need it. The rest of the time we just accept what Exporter gives us.

    It still uses the goto &... idiom; calling through SUPER proved to be a little too fragile for our needs.


    Dave