Re: Should I use CGI.pm?
On Tue, 28 Nov 2000, quagly wrote: I am working my way through the eagle book. I have not used CGI.pm before. It is used in many (most?) of the examples. Is it worth learning to use it? I am not clear whether the authors are using it because the think it is the best way to go, or because they already know it ( or created it )and it is convenient. I have not done CGI programming before, but have some experience with java servlets. It there a compelling reason I should learn it ( other than that it would help me to understand the book? ) It's much simpler than you think -- Lincoln Stein is the one who wrote and maintains CGI.pm :) (he is the co-author) It's a very good module, but it's quite bloated. So if you need to process forms and you are under mod_perl Apache::Request is the one to go with. Thanks, ~quagly - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://jazzvalley.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Should I use CGI.pm?
except it's a little buggy ! (Apache::Request) I have been obliged to return to CGI.pm, coz libapreq cannot handle correctly the multipart enctype, as for file upload What about the 0.32 ? I'm a bit underskilled to patch and compile such a tool, but If someone can help me, I will be pleased to start the process. tmb - Original Message - From: "Stas Bekman" [EMAIL PROTECTED] To: "quagly" [EMAIL PROTECTED] Cc: "mod_perl list" [EMAIL PROTECTED] Sent: Wednesday, November 29, 2000 11:41 AM Subject: Re: Should I use CGI.pm? On Tue, 28 Nov 2000, quagly wrote: I am working my way through the eagle book. I have not used CGI.pm before. It is used in many (most?) of the examples. Is it worth learning to use it? I am not clear whether the authors are using it because the think it is the best way to go, or because they already know it ( or created it )and it is convenient. I have not done CGI programming before, but have some experience with java servlets. It there a compelling reason I should learn it ( other than that it would help me to understand the book? ) It's much simpler than you think -- Lincoln Stein is the one who wrote and maintains CGI.pm :) (he is the co-author) It's a very good module, but it's quite bloated. So if you need to process forms and you are under mod_perl Apache::Request is the one to go with. Thanks, ~quagly - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://apachetoday.com http://jazzvalley.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Should I use CGI.pm?
I am working my way through the eagle book. I have not used CGI.pm before. It is used in many (most?) of the examples. Is it worth learning to use it? I am not clear whether the authors are using it because the think it is the best way to go, or because they already know it ( or created it )and it is convenient. I have not done CGI programming before, but have some experience with java servlets. It there a compelling reason I should learn it ( other than that it would help me to understand the book? ) Thanks, ~quagly - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Should I use CGI.pm?
On 28 Nov 2000, at 18:54, quagly wrote: I am working my way through the eagle book. I have not used CGI.pm before. It is used in many (most?) of the examples. Is it worth learning to use it? I am not clear whether the authors are using it because the think it is the best way to go, or because they already know it ( or created it )and it is convenient. I have not done CGI programming before, but have some experience with java servlets. It there a compelling reason I should learn it ( other than that it would help me to understand the book? ) I have long used CGI.pm but I never used most of its functions The following module supplies me with everything I got from CGI.pm: http://search.cpan.org/doc/GEOFF/Apache- RequestNotes_0.05/RequestNotes.pm It really gives me the essence (form values in a hash) of what I need ... it gives more but I haven't been there yet. I'd suggest using a template system. My favorite (easily spans plain cgi to modperl and is very easy for designers to understand) is: http://search.cpan.org/doc/SAMTREGAR/HTML-Template- 2.0/Template.pm There are plenty more and I believe there was recent discussion (or periodic). Also, search the archives, there has been periodic talk about this. I use these archives but there are others: http://www.geocrawler.com/lists/3/Web/182/0/ Peter --- "Reality is that which, when you stop believing in it, doesn't go away". -- Philip K. Dick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]