sub new {} # construct a new object sub mymethod {} # public method for an object sub _mymethod2 {} # private method for an object