Site menu:

Perl Quiz 2

Questions on Perl Fundamentals   ( Perl Quiz 1 | Perl Quiz 3 )
 

 
You are at question 1 of 25:

rand 100










You are at question 2 of 25:

localtime function returns 9 values in the order










You are at question 3 of 25:

-> operator is called










You are at question 4 of 25:

... is called










You are at question 5 of 25:

last operator










You are at question 6 of 25:

Perl expressions are always evaluated in a context that determines the outcome of the evaluation. They are










You are at question 7 of 25:

The following functions relate to context










You are at question 8 of 25:

(1,2,3)[-1]










You are at question 9 of 25:

Command execution is done using










You are at question 10 of 25:

say function was introduced in Perl version










You are at question 11 of 25:

The six predefined file handles are










You are at question 12 of 25:

autodie










You are at question 13 of 25:

return without a value










You are at question 14 of 25:

lcfirst expr










You are at question 15 of 25:

each @array










You are at question 16 of 25:

shift and unshift










You are at question 17 of 25:

In regular expression the /m modifier










You are at question 18 of 25:

After a successful match $` indicates










You are at question 19 of 25:

After a successful match, the special variable $' indicates










You are at question 20 of 25:

binmode filehandle [,layers] arranges for the file opened on filehandle to be read or written using the specified I/O layers. The default is










You are at question 21 of 25:

The special variable $. indicates










You are at question 22 of 25:

The special variable $" indicates










You are at question 23 of 25:

The special variable $, indicates










You are at question 24 of 25:

%+ denotes










You are at question 25 of 25:

If a substring is not found then the index function returns










Status Bar