Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux & Javascript!  

CppBuzz.com
  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux

You are here : Home » Perl Objective Questions

Perl Objective Questions - 5 Questions


Question: 1

(A) /^a/
(B) /@a/
(C) /$a/
(D) /~a/

Beginner regularexpressions[Posted by: Admin | Chicago, USA]



Question: 2

(A) /a?bc/
(B) /a~bc/
(C) /a'bc/
(D) /ab?c/

Beginner regularexpressions[Posted by: Admin | Chicago, USA]



Question: 3

(A) /a*c/
(B) /a.c/
(C) /a_c/
(D) /a?c/

Beginner regularexpressions[Posted by: Admin | Chicago, USA]



Question: 4

(A) push @arr ($x)
(B) push @arr $x
(C) push $x @arr
(D) push @arr, $x

Beginner arrays[Posted by: Admin | Chicago, USA]



Question: 5

(A) die["Error detected!"]
(B) die "Error detected!"
(C) die $"Error detected!"
(D) exit; "Error detected!"

Beginner other[Posted by: Admin | Chicago, USA]



[Contribute Here]