WWW::Shorten::Flickr - Perl interface to flic.kr
use WWW::Shorten::Flickr; use WWW::Shorten 'Flickr'; $short_url = makeashorterlink($long_url); $long_url = makealongerlink($short_url);
WWW::Shorten::Flickr is Perl interface to the flic.kr.
The function makeashorterlink will return the shorter Flickr URL Shortener version. makeashorterlink will accept as an argument either the full Flickr URL or just the Flickr identifier of the photo.
makeashorterlink
If anything goes wrong, then either function will return undef.
undef
The function makealongerlink does the reverse. makealongerlink will accept as an argument either the full Flickr URL Shortener URL or just the Flickr URL Shortener identifier.
makealongerlink
Shinsuke Matsui <smatsui@karashi.org>
WWW::Shorten, http://flic.kr/
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::Shorten::Flickr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Shorten::Flickr
CPAN shell
perl -MCPAN -e shell install WWW::Shorten::Flickr
For more information on module installation, please visit the detailed CPAN module installation guide.