| WWW-Shorten-Qwer documentation | view source | Contained in the WWW-Shorten-Qwer distribution. |
WWW::Shorten::Qwer - Perl interface to qwer.org
use WWW::Shorten::Qwer; use WWW::Shorten 'Qwer'; $short_url = makeashorterlink($long_url, $short_code); $long_url = makealongerlink($short_url);
A Perl interface to the web site qwer.org. Qwer simply maintains a database of long URLs, each of which has a unique identifier.
The function makeashorterlink will call the Qwer web site passing
it your long URL and a mandatory short code. It will return the shorter
Qwer version of the URL.
The function makealongerlink does the reverse. makealongerlink
will accept as an argument either the full Qwer URL or just the
Qwer identifier.
If anything goes wrong, then either function will return undef.
makeashorterlink, makealongerlink
See the main WWW::Shorten docs.
Dave Cross <dave@mag-sol.com>
WWW::Shorten, perl, http://qwer.org/
| WWW-Shorten-Qwer documentation | view source | Contained in the WWW-Shorten-Qwer distribution. |