develooper Front page | perl.perl5.porters | Postings from May 2008

Re: thoughts about overloading method calls

Thread Previous
Ricardo SIGNES
May 6, 2008 10:59
Re: thoughts about overloading method calls
Message ID:
* Aristotle Pagaltzis <> [2008-05-06T13:36:45]
> * Ricardo SIGNES <> [2008-05-06 19:05]:
> > a) am I totally wrong and stupid?  please point out how and why
> All I have to say is I’ve always wanted something like this.

mst pointed out that "autobox leads the way," but autobox can't do:

  my $method = 'blort';

...and I think that is critical.

It also can't do $obj->$coderef, and I'm not sure what we'd want to do with

It seems like in all cases: punt to the method call handler.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About