Labrador::Common::URLAlloc::DFS
use Labrador::Common::URLAlloc;
use Labrador::Common::URLAlloc::DFS;
my $urlalloc = Labrador::Common::URLAlloc::new(
'Labrador::Common::URLAlloc::DFS',
$data, $urlstates, $config);
$urlalloc->new_url('http://www.gla.ac.uk/#');
print $urlalloc->get_url();
A simple queueing implemetation. New urls are entered at the fronth of the queue, retreived from front of queue. This follows a depth-first fashion.
NB: Depth-first is not a recommended crawling strategy.
Enqueue $url
$Revision: 1.7 $ =cut