From your last reply:
..Scan a directory and return all filenames containing the IDS
I C 7700 -A.jpg
I C 7700 -B.jpg
I C 7700 a,b -KK
Then change this line:
push @result, $_ if $_ eq $file;
to
push @result, $_ if $_=~/^\Q$file/;
In reply to Re^3: Looking up elements of an array in another array!
by 2teez
in thread Looking up elements of an array in another array!
by better
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |