in reply to Re^4: Finding the parent of a text in a file
in thread Finding the parent of a text in a file

{ my $line1 = $file1[i]; my $line2 = $file2[j]; my $full1 = fullpath($line1); my $full2 = fullpath($line2); }

"my"s are local to the enclosing block - these six lines do nothing.

Please *never* comment out "use strict" and "use warnings"