in reply to I need help making loop-created buttons and entries match up...
This causes a unique $i per iteration, and thus will be closed properly with each callback.for my $index (0..$#parts) { my $i = $index; # unique per loop iteration ... rest of your loop here ... }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|