Labrador::Common::URLAlloc::BFS
use Labrador::Common::URLAlloc; use Labrador::Common::URLAlloc::BFS; my $urlalloc = Labrador::Common::URLAlloc::new( 'Labrador::Common::URLAlloc::BFS', $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 back of the queue, retreived from front of queue. This follows a breadth-first fashion.
Enqueue $url
$Revision: 1.7 $