Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

  (email not shown publicly)
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [], and here [] too, I ramble randomly in my philosophical blog [] and my other blog []. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Wednesday December 19, 2001
08:15 PM

*eyes fall out of head*

[ #1732 ]
Okay, that's probably not good: Each entry shows up as a huge single table datum, and, worse, the page took about ten minutes to load processing a file with maybe two hundred lines in it. It *never* took that long before. I did sumpin' wrong here.

I think this

print Tr(td(center(
checkbox("want $_", "", "$_", ''),
textfield("quantity $_", "1", 3, 3,) ))); } }

is wrong, but I don't know precisely why. I'm thinking I've got to specify that it's list context, but I'm fuzzy on how to specify that. :\

Still worse, looking it over, it's fairly obvious that the script broke after a while. The page didn't finish, for one, and for two, it ignored the search term.

More rooting is needed...time well spent in the _Bookshelf_ can solve any problem.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • If you have a scan of the CGI docs for the few mentions of tables you'll find that you need to pass Tr an arrayref of tds. So Tr([ td( ) ]) As for center you could use Tr({-align=>CENTER}, ... That might help. At this point it's traditional to mention, use strict and warnings!
    Steve Rushe -