For example, using grep with something like:$perm=400 if $file=~/catalina\.properties/ || $file=~/\.key$/ || $file +=/tomcat-users\.xml/;
Thanks for any help.$perm=400 if grep {/$file/}, qw(catalina.properties \.key$ tomcat-user +s.xml);
In reply to search a regex list by equick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |