Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks

Im already working on perl. I wanted to be an expert on cgi-perl. Can you suggest some complete cgi-perl resources?

any websites? books? tutorials?

Any suggestion would be of immense help to me?

Replies are listed 'Best First'.
Re: CGI-perl resources?
by cog (Parson) on Apr 12, 2005 at 11:38 UTC
      Ovid's CGI course is definitely a great starting point. Although in the current state, it's really just an introduction. (I believe he's still working on it.)

      Obviously, be sure to check out the CGI.pm documentation on the web here, at perldoc, or ideally with "perldoc CGI". Also, check out Lincoln Stein's Official Guide to Programming with CGI.pm. While it's a bit old, it's still a great resource.

Re: CGI-perl resources?
by srdst13 (Pilgrim) on Apr 12, 2005 at 11:49 UTC
    I guess you have already looked at the documentation for CGI.pm? It is pretty much required reading, I think.

    If you are building anything larger than a couple of pages, you might want to become familiar with the MVC (Model/View/Controller) paradigm. CGI::Application, CGI::Builder, Template::Toolkit, HTML::Template, Maypole, Catalyst, and Class::DBI are all useful tools for implementing such a framework (or are frameworks, themselves).
Re: CGI-perl resources?
by zentara (Cardinal) on Apr 12, 2005 at 11:56 UTC
    Go to learn.perl.org and sign up for the beginners.cgi maillist(there is an nntp interface too).

    Since you say you want to be an expert, you should learn about mod_perl, search mod_perl


    I'm not really a human, but I play one on earth. flash japh
Re: CGI-perl resources?
by jhourcle (Prior) on Apr 12, 2005 at 12:29 UTC

    Some idea of just how deep your current CGI or Perl background goes would be of great help. (are you a beginner in both, or already an expert in Perl? It can make a big difference).

    Along with the other recommendations, I'd advise becoming intimately familiar with whatever webserver software you might be using, the HTTP RFCs, and if you're going to be presenting results back to the users (which you might not be, in the case of a web service), HTML, XHTML, CSS and WAI.

    If you are writing web services, then you'll want to be up on SOAP, XML and WSDL.

    Oh -- and if you're going to try to learn by example ... I'd recommend that you don't just go to any random 'script archive' and look at what's available. There is a whole lot of bad code out there, and you don't want to be picking up bad habits from it.

Re: CGI-perl resources?
by bradcathey (Prior) on Apr 12, 2005 at 12:21 UTC

    At the time I was learning Perl/CGI, I found CGI Programming with Perl a great introduction, though now a little dated. Talks about efficiency and security in coding as well as the standard how-to.


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
Re: CGI-perl resources?
by Anonymous Monk on Apr 13, 2005 at 06:05 UTC
    Thanks Guy
    By the way, I am well-versed with perl. just begining to use CGI.

    thanks everyone. I hav noted every point