GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WWW::SHORTEN::TINYURL (3)

.ds Aq ’

NAME

WWW::Shorten::TinyURL - Perl interface to <http://tinyurl.com>

CONTENTS

SYNOPSIS



  use strict;
  use warnings;

  use WWW::Shorten::TinyURL;
  use WWW::Shorten TinyURL;

  my $short_url = makeashorterlink(http://www.foo.com/some/long/url);
  my $long_url  = makealongerlink($short_url);



DESCRIPTION

A Perl interface to the web site <http://tinyurl.com>. The service simply maintains a database of long URLs, each of which has a unique identifier.

Functions

    makeashorterlink

The function makeashorterlink will call the <http://TinyURL.com> web site passing it your long URL and will return the shorter version.

    makealongerlink

The function makealongerlink does the reverse. makealongerlink will accept as an argument either the full URL or just the identifier.

If anything goes wrong, then either function will return undef.

    EXPORT

makeashorterlink, makealongerlink

SUPPORT, LICENSE, THANKS and SUCH

See the main WWW::Shorten docs.

AUTHOR

Iain Truskett <spoon@cpan.org>

SEE ALSO

WWW::Shorten, <http://tinyurl.com/>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WWW::SHORTEN::TINYURL (3) 2016-03-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.