What will be printed by the code below?
my $val = {};
print ref($val);
empty value
ARRAY
HASH
SCALAR
true
Correct Answer:
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Perl Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Perl MCQ Questions
In Perl 5.26.1, what is the default value of the debugging configurable option, windowSize?
Output of the Perl command? print v102.101.111;
Which Perl debugging commands is used for displaying all the commands that are longer than one character?
Which Perl function returns the casefolded version of an expression?
In Perl, which operator is used for determining the variable to which regex is applied?
What will be the @arr value after executing: my @arr = grep { $_ > 0 } map { $_ * $_ } (1, -1, 2, -2);
What does Perl -T do?
How to create a super class object?
Which takes care of garbage collection?
I can capture output of any unix command through which process?