$perm = 400 if $file =~ /catalina\.properties|\.key$|tomcat-users\.xml +/;
$perm = 400 if grep { $file =~ $_ }, qr/catalina.properties/, qr/\.key +$/, qr/tomcat-users.xml/;
In reply to Re: search a regex list
by jwkrahn
in thread search a regex list
by equick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |