1D0-437試験無料問題集「CIW PERL FUNDAMENTALS 認定」

Consider the following command:
perl runme.pl arg1 arg2 arg3
Given this command issued on the command line, what is the value of $#ARGV?

In the context of Perl user-defined subroutines, which statement is the most accurate?

Consider the following program code:
@ array = ("Y", "W", "X");
@ array = sort(@array);
unshift(@array, "Z");
print(@array[0]);
What is the output of this code?

Yngve wants to define a character class that includes any alphanumeric word characters.
Which one of the following choices is best suited for this requirement?

Consider the following program code:
$Animal = Dogs bark;
package Cat;
$Animal = Cats purr;
{
package Fish;
$Animal = Fish swim;
}
package main;
print $Animal;
What is the result of executing this program code?

Which statement will print the capital attribute of the $kansas object?

Consider the following code block:
BEGIN {print ("Jan ");}
BEGIN {print ("Feb ");}
END {print ("Mar ");}
END {print ("Apr ");}
Print ("May ");
What is the result of this code block?

The filehandle INPUT is associated with the file represented by $file. Which statement will close the filehandle INPUT?

Which one of the following choices will assign the current package Library1?