On Thu, Oct 25, 2012 at 04:05:05PM +0100, David Cantrell wrote:
I'm liberating some code that we use at work. A first cut at CPAN-
ising it is here (yes, I know it has no tests yet):
https://github.com/DrHyde/perl-Devel-Mockable
What do people think? The aim is to:
I just took a quick
On Fri, Oct 26, 2012 at 03:29:27PM -0700, Karen Etheridge wrote:
On Thu, Oct 25, 2012 at 04:05:05PM +0100, David Cantrell wrote:
I'm liberating some code that we use at work. A first cut at CPAN-
ising it is here (yes, I know it has no tests yet):
David,
Also I think that my code's interface is nicer :-)
But we all think that about our interfaces, no? ;-
My personal interface for mocking looks more like this:
class Mock::Property
{
has '_dbh' = ( is = 'ro', default = sub {
$Test::Rent::Dbh } );
[CCing chromatic in case he's not on perl-qa; my apologies if you get
two copies]
I'm liberating some code that we use at work. A first cut at CPAN-
ising it is here (yes, I know it has no tests yet):
https://github.com/DrHyde/perl-Devel-Mockable
What do people think? The aim is to:
* make