in reply to Re: Re: Tk programming style
in thread Tk programming style

But the way the save loop is set up, it reduces some duplication, and you can still add a # SAVE ACTIVITIES to make it stand out. :-) Actually, I didn't take it far enough - it should have been:
for (@activity) { print SAVE "[Button]\n"; my $item; print SAVE "$prop=" . $_->$prop() for $_->properties; }
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.

Makeshifts last the longest.