|
Revision 1251, 326 bytes
(checked in by kindlund, 9 months ago)
|
Initial commit of client cleanup code.
|
- Property svn:executable set to
*
- Property svn:keywords set to
Id "$file"
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
use strict; |
|---|
| 6 |
use warnings; |
|---|
| 7 |
|
|---|
| 8 |
use Data::Dumper; |
|---|
| 9 |
use HoneyClient::Manager::Database; |
|---|
| 10 |
|
|---|
| 11 |
my $urls = { |
|---|
| 12 |
'http://www.cpan.org/' => 20, |
|---|
| 13 |
'http://www.craigslist.org/' => 100, |
|---|
| 14 |
}; |
|---|
| 15 |
|
|---|
| 16 |
my $output = HoneyClient::Manager::Database::insert_queue_urls($urls); |
|---|
| 17 |
print Dumper($output) . " URL(s) inserted.\n"; |
|---|