4.2.1. Calling the Methods of an Object

To call the methods of an object, one should use the $object_ref->method_name(@args) notation.

Note that internally the method receives $object_ref as its first argument.


Written by Shlomi Fish