in reply to Negation/Complement of a Regex
my $match = sub { $_[0] =~ /.../ }; my $negated = sub { not $match->(@_) }; [download]
Now that's some Higher Order Perl I can live with!
-sam