NAME
WWW::Google::Images::SearchResult - Search result object for WWW::Google::Images
Constructor
new($agent, @urls)
Creates and returns a new WWW::Google::Images::SearchResult
object.
Accessor
$result->next()
Returns the next image from result as a WWW::Google::Images::Image
object.
Other methods
$result->save_all(%args)
Save all the image files and web pages from result.
Optional parameters:
- content => 1
-
Content is saved by calling $image->save_content() for each result.
- context => 1
-
Context is saved by calling $image->save_context() for each result.
- summary => 1
-
A summary is created, that links saved files to original URLs.
- file => $file
-
Passed to $image->save_content() and $image->save_context().
- dir => $directory
-
Passed to $image->save_content() and $image->save_context().
- base => $base
-
Passed to $image->save_content() and $image->save_context().
Additionaly, if optional parameter file or base is given, an index number is automatically appended.
COPYRIGHT AND LICENSE
Copyright (C) 2004-2006, INRIA.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Guillaume Rousse <grousse@cpan.org>