You have neglected to loop through @prep to actually check the file's content. You will need to modify your $tag binding and comparison to an assignment in list context.
I don't see exactly what you're doing with this, but would one of the Template modules help?
After Compline,
Zaxo
In reply to Re: simple search problem (but not for me!!)
by Zaxo
in thread simple search problem (but not for me!!)
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |