You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by eric lin <fs...@centurytel.net> on 2002/12/14 11:25:51 UTC

[users@httpd] Re: what is perl 's syntax or grammer?


Colin Watson wrote:
> On Fri, Dec 13, 2002 at 05:06:48AM -0700, eric lin wrote:
> 
>>may be best weblanguage is java or java script, let me explore html and 
>>cgi and perl first
> 
> 
> Neither Java nor JavaScript is a worthwhile language in my opinion. Perl
> is fine, but you'll never get anywhere in any language by not reading
> the documentation. Put another way, you can get it wrong in any
> language; don't blame the language for it.
> 
> See 'man perl' and the many documents to which it refers.
> 
> See 'man CGI'.
> 
> Try setting in the environment REQUEST_METHOD=GET and QUERY_STRING to
> whatever the browser sends,

so that is my /var/www/index.html (form field?)
or
/usr/lib/cgi-bin/entrance.cgi(at beginning?)
or
anywhere ?

please help again


  and then using the Perl debugger.
> 
> 
>>but that is not correct or good enough, I still expect the print out the 
>>name field i collect from visitor(ie CPU, motherboard, harddisk, etc...) 
>>and value field( the price of cpu, motherboard, harddisk, etc...)
> 
> 
> It looks like it works fine to me. Maybe your form's wrong, I have no
> idea.
> 
> If you're doing e-commerce, you might be better off hiring a consultant
> rather than sending half a dozen nearly-identical messages a day to
> debian-user.
> 
> Cheers,
> 


-- 
Sincere Eric
www.linuxspice.com
linux pc for sale


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org