in reply to Fixing nits with $object->can($method);
Frequently when writing classes we might import (knowingly or otherwise) functions to help our class, but we don't want people to rely on them or, for that matter, to call them.
Except, of course, when we do ;-) I often use import as a poor man's mixin.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Fixing nits with $object->can($method);
by xdg (Monsignor) on Dec 06, 2005 at 14:34 UTC | |
by adrianh (Chancellor) on Dec 07, 2005 at 12:56 UTC |