Site menu:

Perl Quiz 1

Questions on Perl Fundamentals   ( Perl Quiz 2 | Perl Quiz 3 )
 
You are at question 1 of 25:

The syntax of the splice function is










You are at question 2 of 25:

The chomp function removes










You are at question 3 of 25:

An associative array, more commonly called a










You are at question 4 of 25:

undef is a










You are at question 5 of 25:

__DATA__ represents










You are at question 6 of 25:

The q represents










You are at question 7 of 25:

Format specifier %f denotes










You are at question 8 of 25:

Which switch is used to check the Perl syntax










You are at question 9 of 25:

x{m,n} metacharacter matches










You are at question 10 of 25:

Anchor \z matches










You are at question 11 of 25:

Anchor ^ matches










You are at question 12 of 25:

Metacharacter \D matches










You are at question 13 of 25:

Look around assertion /PATTERN(?!pattern)/ is










You are at question 14 of 25:

die function prints message to










You are at question 15 of 25:

The select function sets the default output to










You are at question 16 of 25:

flock function takes two arguments: a filehandle and a file locking operation. The value of 4 for operation indicates










You are at question 17 of 25:

The symbol +>> in open function indicates










You are at question 18 of 25:

How does Perl pass command-line arguments to a Perl script?










You are at question 19 of 25:

The eof function returns










You are at question 20 of 25:

File test operator -M specifies










You are at question 21 of 25:

The local function is said to be










You are at question 22 of 25:

A prototype lets you treat your subroutine just like a Perl built-in function and it is handled at










You are at question 23 of 25:

The file test operator -e returns










You are at question 24 of 25:

The file test operator -z returns










You are at question 25 of 25:

/x modifier in regular expression










Status Bar