Jerome Eteve > WebService-ReutersConnect > WebService::ReutersConnect::ResultSet

Download:
WebService-ReutersConnect-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WebService::ReutersConnect::ResultSet - A Result Set of Items.

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 ){
  ...
 }
syntax highlighting: