The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

AnyEvent::ImageShack - simple non-blocking client for image hosting ImageShack.us

VERSION

0.02

SYNOPSIS

   use AnyEvent::ImageShack;
   
   my $c = AnyEvent->condvar;
   image_host('url/or/path/to/image.png', sub { warn shift; $c->send });
   $c->recv;

METHODS

image_host $image, option => value, ..., $callback

Host image $image to ImageShack.us

OPTIONS

user_agent - UserAgent string
active - number of active connections for AnyEvent::HTTP
max_per_host - maximum connections per one host for AnyEvent::HTTP

SUPPORT

SEE ALSO

AnyEvent, AnyEvent::HTTP

COPYRIGHT & LICENSE

Copyright 2010-2011 Dmitry Konstantinov. All right reserved.

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