newbie to html/perl/apache needs help
hi
i just want to make a little web site for me and want to learn perl language( i wished i could learn python though) there seems like three ways to use perl in apache cgi mode_perl embededPerl which one is most close to perl syntax? or anything will do for learning perl? i don't care about web-server's performance.. and i'm having trouble with html form how can i send "variables" to *.pl so that it can process it? thank you |
cgi and mod_perl kind of accomplish the same task,
You perl cgi is called as perl script. embededPerl on the hand allows you to "embed" perl in you html kind of like ASP or PHP One other note mod_perl is compiled into the apache which means you not calling it from outside. |
so just for learning purpose,
(to be as close as just normal perl script) mod_perl/ cgi are same on that aspect? (i 've never done cgi scripting =) ) |
Quote:
The difference is mod_perl compiles the Perl interpeter into Apache, instead of calling it from the OS with: #!/usr/local/bin/perl BTW, Perl and CGI are to compertely different beast. You can write "cgi" script in any language that you please :confused: |
mod_perl, embperl and cgi are not 'ways' to code perl.
You code perl in Perl not perl in mod_perl. mod_perl is to write apache modules in perl. |
Quote:
cgi and Perl being two seperate beast :) |
All times are GMT -5. The time now is 09:39 AM. |