• Home
  • To verify if the variable $str contains the word “test” you would use
Question 1:
To verify if the variable $str contains the word “test” you would use
A. if ($str = ~/test/)
B. if ($str == “test”)
C. if ($str = “test”)
D. if ($str contains “test”)

These questions are from this test. Would you like to take a practice test?

Perl Quiz 1 | Englishfreetest.com