in reply to Redefined Methods.. ok, Why?
where make_accessor() returns a code-reference for an accessor method that accesses $attr_name which is located at a specific index ($index + $offset) in an array-based object.*{"${class}::${sub_name}"} = $class->make_accessor( $index + $offset, $attr_name, ) unless defined &{"${class}::${sub_name}"};
The important part is the unless defined part.
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
|---|