Scroll to navigation

Unicornify::URL(3pm) User Contributed Perl Documentation Unicornify::URL(3pm)

NAME

Unicornify::URL - OMG UNICORN AVATAR!

SYNOPSIS

    use Unicornify::URL;
    my $url = unicornify_url( email => 'larry@wall.org' );

DESCRIPTION

Now you can have your very own generated Unicorn avatar! OMG! SQUEE!

See <http://unicornify.appspot.com/use-it> for more information. *heart*

Functions

unicornify_url

    my $url = unicornify_url( email => $email, %options );

Constructs a URL to fetch the unicorn avatar for the given $email address.

%options are optional. "unicornify_url" will accept all the options of "gravatar_url" in Gravatar::URL but as of this time only "size" has any effect.

size

Specifies the desired width and height of the avatar (they are square) in pixels.

As of this writing, valid values are from 32 to 128. The default is 32.

SEE ALSO

Gravatar::URL

Acme::Pony

"The Last Unicorn"

2022-06-14 perl v5.34.0