Hi All,
I am getting the following warning while running the perl script
Warning is:
Quantifier follows nothing before HERE mark in regex m/* << HERE /
-
-
foreach(keys %hash)
-
{
-
-
if($_ =~ /$arr[0]/) // Here I am getting the above warning
-
{
-
$team = $hash{$myKeys[0]};
-
-
}
-
else
-
{
-
$team = $hash{$myKeys[1]};
-
}
-
last;
-
}
-
I am comparing the arr[0] with the first key.Why I am getting this?
can anybody help me?
Regards,
Bhavani