in reply to Re^2: One More bit of Perl/Tk Confusion
in thread One More bit of Perl/Tk Confusion

Why not keep a count of how many you've added, and stop adding when the count gets too big?

  • Comment on Re^3: One More bit of Perl/Tk Confusion

Replies are listed 'Best First'.
Re^4: One More bit of Perl/Tk Confusion
by Dandello (Monk) on Jan 27, 2011 at 22:00 UTC

    Automatically?

    I certainly know how to do it straight to html - that's a no-brainer.

    foreach my $b (0 .. $LST){ print qq{my html or CGI formatted row here} or die 'unable to print'; }

    I'm trying to emulate the same function in Tk. I don't know how many rows the final user is going to need. And once it's handed over, the person using it will not be in a position to edit it.