Consider the following program code:
if (“cool” =~ m/[cool]{4}/)
{
print(“True “);
}
else
{
print(“False “);
}
if (“cool” =~ m/[col]{4}/)
{
print(“True “);
}
else
{
print(“False “);
}
What is the output of this code?
A.
FalseFalse
B.
False True
C.
True False
D.
TrueTrue