WWW::Scroogle::Result - A Subclass for Search Results from WWW::Scroogle
my @results = $scroogle->get_results; print $_->position, ' ', $_->url, "\n" for @results;
WWW::Scroogle::Result provides a object layer for search results from WWW::Scroogle
Returns a new WWW::Scroogle::Result object from the given options the required options are:
url
position
searchstring
language
croaks if errors occur
returns the url of the result
returns the position of the result
returns the searchstring used in WWW::Scroogle while performing the search
returns the language used in WWW::Scroogle while performing the search
This is just a alpha release so dont expect it to work properly.
Written by Lars Hartmann, <lars (at) chaotika (dot) org>.
Copyright (C) 2008 by Lars Hartmann, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::Scroogle, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Scroogle
CPAN shell
perl -MCPAN -e shell install WWW::Scroogle
For more information on module installation, please visit the detailed CPAN module installation guide.