use strict; use warnings; my @count; my $i = 0; while ( my $string = (<DATA>) ) { $string =~ s/(\D+)//g; push @count, split( //, $string ); } for (@count) { ++$i; if ( $i >= 7 ) { print "\n7 or more so send to stop_spam() routine\n"; exit; } } __DATA__ Title: !! back!! 7073347120 FREE VaShiKaRaN SpeCiaLisT IN Allahabad Post: 707334712070733471207073347120707334712070733471207073347120
In reply to Re^6: Stopping spam AHHHHH!!!!! (time window)
by james28909
in thread Stopping spam AHHHHH!!!!!
by james28909
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |