[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Perl Doubt
It's better that you read some documentaion on CGI & perl in general.
perl man pages are excellent & is exhaustive.
man perl - to get the details of further man pages.
man perlfunc - for doc. on perl functions.
perldoc <PackageName> - to read documentation of any particular package.
Eg. 'perldoc CGI' will show you the documentation for the module CGI
Happy perl journey !
On Mon, 18 Dec 2000, Adityan Murthy wrote:
> Hi All!
> I've just started learning perl.
> I have a file called read_art.pl which takes a parameter for the name of the
> file and reads the article. i want to have a rate this article link which
> rates it. for that, i plan to write a file, say rateit.pl now, when i click
> on rate it, it will call the perl file, say as, rateit.pl?val=2 (2 is the
> name of the article file). this file (rateit.pl) will contain the form
> required to rate it. now i want the same file to create the form and do the
> rating. that means that when i rate, it will call rateit.pl?val=2&rating=5.
> so, how do i make the same pl file distinguish the two diff calls?
> Also, what is "use CGI"? Seems similar to creating an object of a class in
> C++. Where do i get info on the various functions in CGI?
> Thanx in advance.
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> LIP is all for free speech. But it was created
> for a purpose. Violations of the rules of
> this list will result in stern action.