http://qs321.pair.com?node_id=743530

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

Dear Monks,

I am using perl for the last 5 months and now I am comfort with perl. I started to read about perl CGI, two weeks back. But, I haven't got a good start to move with CGI. kindly reply me some tutorials to taste perl CGI and Modperl.

Now, I am using PHP for web based projects. I would like to use perl for it.

Replies are listed 'Best First'.
Re: Where can I read perl CGI?
by CountZero (Bishop) on Feb 13, 2009 at 06:59 UTC
    And add to your literature some templating solutions: CGI may be the bones of your web-application, templating modules will be the meat on those bones.

    Two of the best templating modules are: Template::Toolkit and HTML::Template

    Once you have digested the basics of CGI and templating, why not leverage this knowledge one level higher and look at full blown web-frameworks such as Catalyst or CGI::Application?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re: Where can I read perl CGI?
by poolpi (Hermit) on Feb 13, 2009 at 06:52 UTC
Re: Where can I read perl CGI?
by targetsmart (Curate) on Feb 13, 2009 at 06:41 UTC
    this would help you Learning CGI and mod_perl
    UPDATE
    as per the suggestion of jdporter I have changed the URL link name from
    [http://www.perlmonks.org/?node_id=733259] to [id://733259]


    Vivek
    -- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.
Re: Where can I read perl CGI?
by tomfahle (Priest) on Feb 13, 2009 at 07:16 UTC
Re: Where can I read perl CGI?
by Bloodnok (Vicar) on Feb 13, 2009 at 13:14 UTC
Re: Where can I read perl CGI?
by matze77 (Friar) on Feb 13, 2009 at 10:10 UTC

    There are some books around like Oreillys, i like to lay a book beside my laptop i find it more useful than switching to the browser or arranging windows when programming and reading ressources ... "CGI Programming with Perl" (i found only a edition from 2001, maybe this is the latest? If you choose the course mentioned there you get the book with the course, but i have only read very view so i cannot comment on this right now ...

    --
    /Spoiler oreilly course:
    If you like to spend some money, maybe this would be nice: (I enrolled to it, but i only started a few lessons, cause i subscribed to other courses too. And cant say if it is really "worth" the money, but the explanations are good, and the practice lessons are well designed, you get a personal instructor (which seems to have a good knowledge and answered all my questions so far ...) in Euro-Zone it is not that expensive anymore, maybe wait for a 15% cheaper they do this regularly)
    http://www.oreillyschool.com/courses/cgiperl/
    /Spoiler oreilly course
    --

    Thanks in Advance MH
Re: Where can I read perl CGI?
by Discipulus (Canon) on Feb 13, 2009 at 08:19 UTC