Help for this page

Select Code to Download


  1. or download this
    sub on_return {
            my ($self, $request, $response, $entry) = @_;
            .....Do some work, process data, register regex'd urls......
            $self->discard_entry($entry);
    
  2. or download this
    sub discard_entry {
        my ($self, $entry) = @_;
      LWP::Debug::trace("($entry)") if $entry;
    ...
        delete @$entries{grep $entries->{$_} == $entry, keys %$entries};
        return;
    }