in reply to Re^2: Tabbed html interfaces using perl??
in thread Tabbed html interfaces using perl??

The only portion of your question that relates to Perl can be answered by saying, "Use print to output whatever HTML you wish for your script to produce."

What HTML (and Javascript) is needed to produce the look you're after on your website is... an HTML / Javascript question, and should be posed to an HTML or Javascript forum.

As an aside, if you're struggling with CGI in general, pick up the book, "CGI Programming with Perl". If you're unfamiliar with Perl, start with "Learning Perl" first, or the CGI book will lose you quickly. Both of those books are published by O'Reilly & Associates. It will also prove beneficial (if not crucial) to read the documentation for CGI.


Dave

  • Comment on Re^3: Tabbed html interfaces using perl??

Replies are listed 'Best First'.
Re^4: Tabbed html interfaces using perl??
by Your Mother (Archbishop) on Oct 21, 2004 at 06:26 UTC

    CGI Programming with Perl might be the only O'Reilly Perl book I wouldn't recommend; it's out of date and I hate style cops as much as anyone but... well. There is a wealth of tutorials and documents and other books; though I can't endorse any. Still, you might be able to find out if you'd like the current edition of the book on your shelf by browsing the graciously provided first edition here.

    The second edition looks better but all in all I believe this mindset/style is why PHP caught fire. Better to learn plain old perl (as davido suggests), some JavaScript, XHTML, and CSS, and then head for a book on Template or Mason, or whatever your poison, instead.

      If you're basing your opinion about "CGI Programming with Perl" (the 2nd edition of the Mouse book) on your experience with "CGI Programming on the World Wide Web" (the 1st edition of the mouse book), you're doing the 2nd edition a disservice. The 2nd is a pretty good book. It discusses templating systems, database interaction, web security, the CGI.pm module, and many other current-day topics. The 1st edition (which had a slightly different title, but still had a mouse on the cover) is indeed outdated, and not all that helpful in the year 2004. But I completely disagree with ruling out the 2nd edition; it's a totally different book.


      Dave

        Disagreements are the spice of an active system. :) It's the 2nd ed in my shelf. It just hasn't been opened since 2001 unlike all my other perl books (well, except the DBI book but that's for another thread). The 2nd ed is still out of date. It's the HTML standards of 1998. CGI is the lion's share of what I've done with perl and I really believe picking up web technologies and plain perl is more helpful than a CGI Survey 101 (it's one of the slimmer O'Reilly volumes for one of the deepest topics).