Description
Perl objects can present behavior that resembles multiple built-in data types depending on context. This is useful for compatibility wrappers or APIs that need an object to behave like a scalar, array, hash, or code reference.
It is a developer library for advanced object behavior. Such objects can be surprising, so maintainers should use them where the context rules are well tested and documented.