DOKK / manpages / debian 12 / libgravatar-url-perl / Unicornify::URL.3pm.en
Unicornify::URL(3pm) User Contributed Perl Documentation Unicornify::URL(3pm)

Unicornify::URL - OMG UNICORN AVATAR!

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

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

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

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.

Gravatar::URL

Acme::Pony

"The Last Unicorn"

2022-06-14 perl v5.34.0