5.10

Dirk Koopman djk at tobit.co.uk
Mon Jan 7 15:34:08 GMT 2008


Paul Makepeace wrote:
> On 1/7/08, Dirk Koopman <djk at tobit.co.uk> wrote:
>> Has anybody tried perl 5.10 out on some real code? I appear to be
>> getting the odd problemette...
>>
>> For instance, try this:-
>>
>> package fred;
>>
>> our @ISA = qw(fred);
>>
>> 1;
>>
>> Although it is a manifestly silly error, I don't think that it merits a
>> (new) fatal error like this:-
>>
>> "Recursive inheritance detected in package 'fred' at fred.pm line 3."
>>
>> What worries me more is the implication that something fundamental has
>> changed in the way that inheritance works.
> 
> What's changed, aiui, is that it's caught at compile time rather than
> runtime. It was still an error before, it's just that you didn't hear
> about it until you sent the engine into a spin.
> 

But that's the point: it didn't. Has never (until now). Not in 10 years.


More information about the london.pm mailing list