Just because $obj->can('foo') doesn't mean that $objs idea of foo matches mine ... that's where documented, named, interfaces (or "contracts" if you want a less java centric term) come in handy.
You have an explicit agreement not just that $obj->can('foo') -- but that it means what you think it means.
In reply to Re^2: Interfaces for the masses!
by hossman
in thread Interfaces for the masses!
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |