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.
If anything goes wrong, then either function will return 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.
If anything goes wrong, then either function will return undef
.
Shinsuke Matsui [email protected]
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.