The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::ReutersConnect::ResultSet - A Result Set of Items. Typically returned by the WebService::ReutersConnect::search method, or as part of supplemental_links on an Item

ATTRIBUTES

id

An optional id. Used when this Set is used as a supplemetal links set of an item.

Usage:

  my @supplemental_sets = @{$item->supplemental_sets()};
  foreach my $set ( @supplemental_sets ){
    print "In this set ".$set->id();
    foreach my $item ( @{$set->items()} ){
       print $item->id();
    }
  }

num_found

The total number of results

size

The size of this particular set of results.

start

The start offset of these results in the entire resultspace

items

An ArrayRef of WebService::ReutersConnect::Item's

Usage:

 my @items = @{$this->items()};
 foreach my $item ( @items ){
  ...
 }