Created
August 22, 2016 15:10
-
-
Save flutesa/e001ba568295a5d7e46bfe985e91d938 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use Redis; | |
my $r = Redis->new(server => 'redis.srg-it.ru:6379'); | |
my $cnt = 0; | |
foreach my $key (@{$r->keys('http:\/\/www\.tomsk\.ru09\.ru\/realty\?subaction=detail&id=\d+')}) { | |
# $r->del($key); | |
$cnt++; | |
} | |
print "$cnt\n"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment