foreach $line (@list_of_files){ if ($line =~ /^\Q$find_file\E\s/){ print ($line); } }
In reply to Re: Using a Variable as a Match Expression
by wind
in thread Using a Variable as a Match Expression
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |