On 9 Aug 2000, Perl6 RFC Librarian wrote:
> =head1 TITLE
>
> All Perl core functions should return objects
While an interesting idea, it'll mean we have a half-bazillion different
types of objects floating around just from the core. The number of
different vtables needed to deal with this (along with the functions in
those tables) is rather formidable, and it will tend to impact
performance. (The more different pieces of code you have the less cache
coherency, which means things go slower)
These really aren't objects anyway, they'd be magic scalars. (And yes, I
know--the difference would be what, exactly? :) Regardless, I think this'd
be rather slow, and I don't think it ought to be core.
However...
If you feel the need, it should be possible to let you do this, or at
least a part of it for one or three ops, with a module. I think it might
be better to wait until the plain way's in and then embellish it later.
Dan