If you really want to unDRY, I'd suggest going the other way: having the explicit list in @class_component up top and sub new use that (perhaps with $default_foo becoming $default{foo}).
In reply to Re: TIoCC :: DRYing the code
by ysth
in thread TIoCC :: DRYing the code
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |