[Moscow.pm] new Class::($arg)

Andrew Shitov andy на shitov.ru
Вт Авг 25 03:04:23 PDT 2009


> А вот чего они хотят достигнуть .... ?

Ну собсно, мессадж такой: пишите "no indirect" и сразу отследите все
использования "new Class".

Хроматик: new Class ведет к ошибкам в say $config->{output} "This is a
diagnostic message!":
http://www.modernperlbooks.com/mt/2009/08/the-problems-with-indirect-object-notation.html

Матт Траут: из-за new Class глючит взаимный импорт A и B:
http://www.shadowcat.co.uk/blog/matt-s-trout/indirect-but-still-fatal/


-- 
Andrew Shitov
______________________________________________________________________
andy на shitov.ru | http://shitov.ru


Подробная информация о списке рассылки Moscow-pm