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]

Reply via email to