- or download this
my $cmds = $tl->Frame;
$cmds->pack;
...
->pack(-side => 'left');
}
$cmds->Button(-text => 'Cancel', -command => [$tl => 'destroy'])->pack
+(-side => 'left');
- or download this
my @button = defined $idx ? (
OK => sub { &edit_entry($idx,$legentry); $tl->destroy; },
Apply => [\&edit_entry, $idx, $legentry],
...
->pack(-side => 'left');
}
}
- or download this
print SAVE <<END;
for (0..$#activity) {
my ($legend,$time,$start,$end,$elapsed) =
...
elapsed=$tsecs
END2
}
- or download this
for (@activity) {
print SAVE "[Button]\n";
my $item;
print SAVE "$item=" . $_->$item() for qw(legend time elapsed);
}