In the case you describe here, if the code calling this thing knows which one it wants, I think you should actually either just make the two classes and call them or make a class that has some kind of method like "set_collection_color()" for switching the behavior.
In reply to Re^3: Abusing Exporter for Conditional Inheritance
by perrin
in thread Abusing Exporter for Conditional Inheritance
by mojotoad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |