Question: 1. Command line arguments in Perl are stored in a a. scalar b. resource c. array d. hash 2. Elements of a split line can

1. Command line arguments in Perl are stored in a

a.

scalar

b.

resource

c.

array

d.

hash

2. Elements of a split line can be glued together with

a.

combine

b.

join

c.

push

d.

shift

3. Which of the following is used in Perl?

a.

else if

b.

elseif

c.

elsif

d.

elif

4. The last character of a line in Perl is removed by

a.

chop

b.

chomp

c.

Either a or b

d.

None of the above

5. The shift function

a.

adds elements to a list to the left

b.

removes elements from a list to the left

c.

adds elements to a list to the right

d.

removes elements from a list to the right

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!