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.
In reply to Re: Fixing nits with $object->can($method);
by adrianh
in thread Fixing nits with $object->can($method);
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |