In any case, since you're building that list anyway, why not do this:
if (grep { $_ eq $passage } @display_files) { # filename ok } else { # not ok }
In reply to Re^3: How to avoid Null Byte Injection
by Joost
in thread How to avoid Null Byte Injection?
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |