{ 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"
In reply to Re^5: Finding the parent of a text in a file
by Anonymous Monk
in thread Finding the parent of a text in a file
by ExperimentsWithPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |