Michael Smith > WWW-DuckDuckGo-0.013 > WWW::DuckDuckGo::Icon

Download:
WWW-DuckDuckGo-0.013.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.013   Source   Latest Release: WWW-DuckDuckGo-0.016

NAME ^

WWW::DuckDuckGo::Icon - A DuckDuckGo Icon definition

VERSION ^

version 0.013

SYNOPSIS ^

  use WWW::DuckDuckGo;

  my $zci = WWW::DuckDuckGo->new->zci('duck duck go');
  
  for (@{$zci->results}) {
    print "Result URL: ".$_->first_url->as_string."\n" if $_->has_first_url;
    print "Result Icon: ".$_->icon->url->as_string."\n" if $_->has_icon and $_->icon->has_url;
  }

DESCRIPTION ^

This package reflects the result of a zeroclickinfo API request.

METHODS ^

has_url

url

Gives back a URI::http

has_width

width

has_height

height

METHODS ^

SUPPORT ^

IRC

  Join #duckduckgo on irc.freenode.net. Highlight Getty for fast reaction :).

Repository

  http://github.com/Getty/p5-www-duckduckgo
  Pull request and additional contributors are welcome

Issue Tracker

  http://github.com/Getty/p5-www-duckduckgo/issues

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Raudssus Social Software.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: