What is the simplest type of data that Perl can work with?
1. element
2. scalar
3. vector
4. component
and then (in the answer section):
The simplest type of data that Perl can work with is called a scalar. Answer: C.
####
Which of the following commands should be used to open a filehandle named
KAREN to an existing file named sw?
1. open KAREN ">sw";
2. open KAREN, ">sw";
3. open "sw" KAREN;
4. open ">sw", KAREN;
##
##
The command open KAREN, "sw"; should be used to open a filehandle named KAREN
to an existing file named sw. Answer: B.
##
##
Which operator can be used to take the bottom item from an array?
1. pop
2. push
3. pull
4. plant