in reply to Re^2: Moo From Hell #1: How to proxy a sub from a non OO module
in thread Moo From Hell #1: How to proxy a sub from a non OO module [SOLVED]

Prototype mismatch: sub Utils::uniq (@) vs none at Utils.pm line 20.

You're importing uniq() and then redefining it; hence the error.

Instead, don't import it:

use List::MoreUtils ();

Then call it fully qualified:

my @result = List::MoreUtils::uniq @{ $self->list };

Anyone got any experience of this phone's predecessor?

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Replies are listed 'Best First'.
Re^4: Moo From Hell #1: How to proxy a sub from a non OO module
by karlgoethebier (Abbot) on Aug 02, 2015 at 18:47 UTC

    This works!

    Some might say that this issue was obvious ;-)

    Thanks for advice BrowserUK and best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

      Oh, maybe not obvious but also maybe not something that really needed two different monks to say it. :P BuK reiterated what AnomalousMonk had already said.

        "...not something that really needed two different monks to say it...BuK reiterated what AnomalousMonk had already said."

        Perhaps i needed the advice of two different monks until i got it?

        And i can't see any reiteration, sorry.

        Perhaps you would like explain this issue?

        Best regards, Karl

        «The Crux of the Biscuit is the Apostrophe»