Subject: | Test::MockModule + SUPER scare me |
Date: | Fri, 4 Dec 2015 20:05:58 +0000 |
To: | bugs-Archive-Zip [...] rt.cpan.org |
From: | Matt S Trout <mst [...] shadowcat.co.uk> |
https://api.metacpan.org/source/CHROMATIC/SUPER-1.20141117/lib/SUPER.pm
I'm not amazingly fond of the idea of monkeypatching UNIVERSAL in a test
suite, for something that's this crucial to CPAN in general doing the right
thing.
Might I suggest Sub::Override and Mock::Quick as other things you might
depend on - or just saying "ach, I'm already in the coal mines" and doing
it the old fashioned way with scratch classes and or 'local *Foo::bar = sub {'
--
Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue
http://shadowcat.co.uk/blog/matt-s-trout/ http://twitter.com/shadowcat_mst/
Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN
commercial support, training and consultancy packages could help your team.