Q.1.
___ function is used for removing the last character from the line.
Q.2.
What will be the value in the variable $a after these two statements: $a = "Happy"; $a = "Sunday";?
Q.3.
When a string is used for numeral computations, perl converts it into
Q.4.
Select comparison operator from the options.
Q.5.
Scalar stores
Q.6.
What output will be generated by this statement: print("Hello\nworld\n\nThis is Perl\n");?
Q.7.
What will be printed by the code below?my @a = (2);my $b = @a;print $b;
Q.8.
What will be printed by the code below?my $val = {};print ref($val);
Q.9.
In Perl, scalar variables always begin with a ________ sign.
Q.10.
In Perl, the following will result in which of the following, if the prize is currently "5 dollars" print 'You won $prize';
Q.11.
The value of the expression $yards += 10
Q.12.
The $_ variable
Q.13.
Which of the following is used in perl?
Q.14.
What will be printed by the code below?ontimes askedmy $val = 'x';print ref($val);
Q.15.
Perl was first released in:
Q.16.
Which of these is NOT available for Perl:
Q.17.
The statement open (FH,"abc.txt");
Q.18.
The printf format "%6.2f" displays a number …
Q.19.
Perl is:
Q.20.
When you're pattern matching, you describe the pattern using: