You say you can't use !~, but you don't really say why not. Does ! /$re/ suit you better?
my $re = qr/foo/; my @no_match = grep { ! /$re/ } <INPUT>;
After Compline,
Zaxo
In reply to Re: positive regex for inverted match
by Zaxo
in thread positive regex for inverted match
by kgimpel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |