in reply to Re: Perl/CGI : need tips with tables within CGI.pm
in thread Perl/CGI : need tips with tables within CGI.pm

i'm very new to CSS. Thanks for telling me that i could take the bgcolor into the class. = )
  • Comment on Re^2: Perl/CGI : need tips with tables within CGI.pm

Replies are listed 'Best First'.
Re^3: Perl/CGI : need tips with tables within CGI.pm
by talexb (Chancellor) on Jan 14, 2005 at 16:19 UTC

    No problem. I highly recommend you purchase and read O'Reilly's CSS book .. it explains the whole concept very well, and, as usual, has great examples. Once you get your head around that, using something like Template::Toolkit and CSS means your formatting stays in CSS and the templates, your data access is handled within modules and the CGI just implements a little logic then ties together the data with the template.

    This is orders of magnitude better than trying to use the intellectually challenging CGI bits and the various DBI pieces all in one's Perl/CGI script. I'm now using CGI::Application so as to write as little code as possible, and when I get around to using Class::DBI, that should reduce my code even more. Simplify, simplify, simplify!

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds