WWW::Favicon - perl module to detect favicon url


WWW-Favicon documentation  | view source Contained in the WWW-Favicon distribution.

Index


NAME

Top

WWW::Favicon - perl module to detect favicon url

SYNOPSIS

Top

    use WWW::Favicon qw/detect_favicon_url/;
    my $favicon_url = detect_favicon_url('http://example.com/');

    # or OO way
    use WWW::Favicon;
    my $favicon = WWW::Favicon->new;
    my $favicon_url = $favicon->detect('http://example.com/');

DESCRIPTION

Top

This module provide simple interface to detect favicon url of specified url.

METHODS

Top

new

Create new WWW::Favicon object.

detect($url)

Detect favicon url of $url.

EXPORT FUNCTIONS

Top

detect_favicon_url($url)

Same as $self->detect described above.

AUTHOR

Top

Daisuke Murase <typester@cpan.org>

COPYRIGHT

Top


WWW-Favicon documentation  | view source Contained in the WWW-Favicon distribution.