NAME

Labrador::Common::URLAlloc::DFS

SYNOPSIS

    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();

DESCRIPTION

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.

METHODS

new_url($url)

Enqueue $url

REVISION

	$Revision: 1.7 $ 
	
=cut