in reply to Re: Re: Tk programming style
in thread Tk programming style
where properties() simply looks like sub properties { qw(legend time elapsed) } and then the INI saving loop doesn't require any maintance at all any more.for (@activity) { print SAVE "[Button]\n"; my $item; print SAVE "$prop=" . $_->$prop() for $_->properties; }
Makeshifts last the longest.
|
|---|