Home »
MCQs »
Perl Programming MCQs
Which of these is a type of the scalar in Perl?
85. Which of these is a type of the scalar in Perl?
- Array
- String
- Hash
- All of these
Answer: B) String
Explanation:
Scalar variables in Perl are a single unit of data. Different types of scalars in Perl are string, character, floating point, large group of string, webpage, etc.