Hi,
I try to compare items in two different arrays. This loop works well in another program of mine. But not in the current program i'm working on. Weird....
The output of the program shows Nested quantifiers in regex; marked by <-- HERE........
for $3 (@obsolete_class_declare)
{
for $4 (@classB)
{
if ($4 =~ /$3/i) #This line causing problem
{
print "$4\n";
last;
}
}
}