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

Andrew Shitov andy на shitov.ru
Пт Июл 30 06:27:15 PDT 2010


Поднимаю старую тему :-)

Злодеи зделали вот чо:

$ perl6
>class A{}

> my $a = new A;
Unsupported use of C++ constructor syntax; in Perl 6 please use method
call syntax at line 1, near ";\n"

> my $a = A.new;
A()<0xbc0d170>


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


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