259 users online (0 members and 259 guests)  

Thread: Perl and CGI

  Results 1 to 2 of 2


  1. Need help with perl    Forum: CGI Perl Forum
    Replies: 1
  2. Replies: 1
  3. Replies: 1
  4. Replies: 0
  1. #1
    jigneshjsoni's Avatar
    New User

    Join Date
    Mar 2008

    Perl and CGI

    I was going thruogh CGI tutorials online , I could not understand whats the difference between a program written in perl script and CGI. Does it mean that whenever a program is written in perlscript, its always CGI ? If not then how to identify that a particular program is CGI ? Is there any other use of perlscript than writing CGIs ?
    Pls explain.

  2. #2
    pageBuzz.com's Avatar
    New User

    Join Date
    Oct 2006

    Re: Perl and CGI

    This is an old question, but warrents an answer.

    Perl is not CGI but it is CGI.

    CGI stands for Common Gateway Interface. It is the process of running programs from teh server as opposed to running static pages or serving html files.

    PHP, PERL, C, java and so on can all perform that function. While javascript and java applets traditionally run on the user browser rather than the server that is not CGI.

    Any program is CGI but perl was one of the first behind C so it usually is know by the .cgi extension.

Tags for this Thread