Dermot wrote:
Dr.Ruud:Dermot:
my $instance = new MyClass; my $instance = MyClass->new;MyClass::->new MyClass::->new()So do they all amount to the same thing?
Fundamentally not. In many practical situations they behave about the same. Until they don't.The last one is the most explicit one, so use it everywhere where you want to be (and remain) sure.
-- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/