The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Blekko::QueryResultSet -- query result from WebService::Blekko

METHODS

next

Retrieves the next WebService::Blekko::QueryResult in the list.

error

Set to a non-zero string if there is an error.

http_code

The HTTP response code. If it is not 2XX, there was a problem.

total_num

The total number of possible results.

sug_slash

A list of suggested slashtags. For example, a search for Linus Torvalds will return a list of suggestions such as /linux and /tech. It is a good idea to show these suggestions to your users.

auto_slashtag

Under certain circumstances, blekko will add a slashtag to your query term. For example, q=cure+for+headaches will auto-fire the /health slashtag, and this will cause auto_slashtag to be set to the string '/health'.

If you wish to avoid auto-slashtag firing, add /web to the query, i.e. q=cure+for+headaches+/web

auto_slashtag_query

When an auto slashtag is fired, sometimes we also change the query by adding or dropping words. If so, auto_slashtag_query will be set to a string with the final query terms.