in reply to Accessor methods again.
You could adopt the Perl Best Practices recommendation for the naming conventions of methods:
routine -> imperative_verb [_ adjective]? _ noun _ preposition
| imperative_verb [_ adjective]? _ noun _ particle
| imperative_verb [_ adjective]? _ noun
This rule results in method names such as:
get_record
get_record_for
eat_cookie
eat_previous_cookie
build_execution_profile_using
This is lifted straight from the text, but if this is not allowed, I'll withdraw this post and recommend that you buy the book.
Thanks, Gavin.
|
|---|