How will this statement evaluate?

Given $state = “Hawaii”; consider the following statement:
if ( $state =~ m/^awaii/ );
How will this statement evaluate?

Given $state = “Hawaii”; consider the following statement:
if ( $state =~ m/^awaii/ );
How will this statement evaluate?

A.
True

B.
False

C.
H

D.
awaii



Leave a Reply 0

Your email address will not be published. Required fields are marked *