I think this is what you are after....if ($file !~ /$ext/) { ..do something if $file does not contain $ext.. }
In reply to RE: variable comparison
by muppetBoy
in thread variable comparison
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |