Is the special case exclusive? Meaning, is it a case the all objects of class 'Y' will behave differently based on the command-line switch? Or is it just once in a while?
Based on the answer to that you have two choices:
my $0.02
In reply to Re: Best Method of Object-Oriented Behavior Addition?
by jreades
in thread Best Method of Object-Oriented Behavior Addition?
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |