Class-Bind reviews

RSS | Module Info

Class-Bind (0.2) *

I agree with the previous review: this module goes out of its way to address something that is, in Perl, a non-problem. It does it in a way that will complicate programs and seems likely to introduce bugs and confusing behavior. Just use a closure.

Class-Bind (0.2) *

This seems like a really wordy way of writing

my $bind = sub { $object->method($_[0], $_[1]) };

What is the extra syntax (and the possibility of passing in a method from the wrong class) gaining you?

(Also, "Class::" seems like the wrong place for this kind of functionality; most things under Class:: relate to class construction.)