Perl MCQ Test: Perl MCQs - Practice Questions
1. What is the purpose of the 'else' statement in Perl?
2. Which operator is used for conditional execution in Perl?
3. What does CGI stand for in Perl?
4. What does the 'chomp' function do in Perl?
5. Which function is used to pause execution in Perl?
6. What is the purpose of the 'do' statement in Perl?
7. Which operator is used for exponentiation in Perl?
8. In Perl, how do you create a constant variable?
9. In Perl, how do you check if a key exists in a hash?
10. How do you comment a single line in Perl?