Q370
The line which is written at the top of the script to write a Perl script using CGI.pm is . . . . . . . .
A.
use this CGI
B.
put CGI
C.
use CGI
AnswerD.
include CGI
Answer: Option C
Solution
Answer: Option C
Solution:
This question is about how to use a special library called CGI.pm in your Perl scripts to create web pages. CGI.pm is a toolkit that helps you make dynamic web pages, which means the content can change based on user input.
To tell your Perl script to use CGI.pm, you need to put a special line at the very beginning. This line tells the script to "load" the library and make its tools available.
The correct line to do this is "use CGI".
So the answer is Option C: use CGI