my $instance = MyClass->new; # invoke constructor method $instance->some_method; # invoke method on object instance # instance deallocates when the last reference falls out of scope