How can I overload the build in array type? (#17)
perl overload provides functionality for operators:
use overload
'+' => \&myadd,
'-' => \&mysub;
# etc
...
is there a similar module to overload the classes of build in types (like array), something like:
use typeoverload
'@' => 'My::Array',
'%' => 'My::Hash';
# etc
...
usenet thread