Class::Contract

2001-12-09 Thread Tim Sweetman
x27;s tried out Damian's Class::Contract, which looked like a staggeringly powerful way of specifying OO structures & checking that they are being adhered to. My main problem with it last time I looked was that it appeared that you had to rebuild everything using C::C inheritence semantics

Re: Class::Contract

2001-12-10 Thread Newton, Philip
Tim Sweetman wrote: > Q: How many OO Perl programmers does it take to change a light bulb? > A: HASH(0x870bf8) Am I the only one who thinks that's really funny? I was just about ROFLMAO :) Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]> All opinions are my own, not my employer's. If you're

Re: Class::Contract

2001-12-10 Thread Richard Clamp
On Mon, Dec 10, 2001 at 12:11:36PM +0100, Newton, Philip wrote: > Tim Sweetman wrote: > > Q: How many OO Perl programmers does it take to change a light bulb? > > A: HASH(0x870bf8) > > Am I the only one who thinks that's really funny? I found myself more concerned that it was an unblessed refere

Re: Class::Contract

2001-12-10 Thread Newton, Philip
Richard Clamp wrote: > I found myself more concerned that it was an unblessed reference, > and so not an object. Yeah, there was that. But I figured that this way, he could get away with not specifying exactly which class he was using (or you might get holy wars à la "but lightbuls get changed mu

Re: Class::Contract

2001-12-10 Thread Mark Fowler
On Mon, 10 Dec 2001, Richard Clamp wrote: > > Tim Sweetman wrote: > > > Q: How many OO Perl programmers does it take to change a light bulb? > > > A: HASH(0x870bf8) > > I found myself more concerned that it was an unblessed reference, and > so not an object. At that point the joke was ruined.

Re: Class::Contract

2001-12-10 Thread Jonathan Stowe
On Mon, 10 Dec 2001, Richard Clamp wrote: > On Mon, Dec 10, 2001 at 12:11:36PM +0100, Newton, Philip wrote: > > Tim Sweetman wrote: > > > Q: How many OO Perl programmers does it take to change a light bulb? > > > A: HASH(0x870bf8) > > > > Am I the only one who thinks that's really funny? > > I fo

Re: Class::Contract

2001-12-10 Thread Chris Devers
On Mon, 10 Dec 2001, Richard Clamp wrote: > On Mon, Dec 10, 2001 at 12:11:36PM +0100, Newton, Philip wrote: > > Tim Sweetman wrote: > > > Q: How many OO Perl programmers does it take to change a light bulb? > > > A: HASH(0x870bf8) > > > > Am I the only one who thinks that's really funny? > > I