2013/7/31 TheAthlete <[email protected]> > Вот что написал Marc Lehmann по этому поводу: > [...]
> Second, this is a bug in perl - during global destruction, perl can > randomly corrupt data structures, which sometimes causes messages like > these. > Это поведение документировано: http://search.cpan.org/~rjbs/perl-5.18.0/pod/perlobj.pod#Global_Destruction, поэтому это не баг, а фича :) Цитата для тех, кому лень лезть в браузер: The order in which objects are destroyed during the global destruction before the program exits is unpredictable. This means that any objects contained by your object may already have been destroyed. You should check that a contained object is defined before calling a method on it: sub DESTROY { my $self = shift; $self->{handle}->close() if $self->{handle}; } > Удивительно то что несмотря на агрессивное отрицание, он скорее всего > баг пофиксит .. но аргументы конечно достойны facepalm.jpg ) Просто он говорит о том, что автор ССЗБ, раз не использует принятую конвенцию (use warnings вместо -w) =) И он прав, ящитаю =) -- Best regards, Ilya Chesnokov
-- Moscow.pm mailing list [email protected] | http://moscow.pm.org
