in reply to regexp: Mind-boggling negative assertions...
an extremely strict check that is supposed to only let particular URLs pass and reject the restI think you could make your life much easier if you'd reverse the logic of your script: similiar to:
That way you can concentrate on what you want instead of what to avoid.if ($referrer =~ m!^https?://(forum\.)?robidu\.de/!) { print "pass\n"; } else { print "reject\n"; }
|
|---|