Tie::TinyURL - Tied interface to TinyURL.com


Tie-TinyURL documentation  | view source Contained in the Tie-TinyURL distribution.

Index


NAME

Top

Tie::TinyURL - Tied interface to TinyURL.com

SYNOPSIS

Top

 use strict;
 use Tie::TinyURL;

 my %url;
 tie %url, "Tie::TinyURL";

 ## Explicitly set an HTTP timeout of 3 seconds
 # tie %url, "Tie::TinyURL", "timeout" => 3;

 my $tinyurl = $url{"http://www.bbc.co.uk"};
 my $url = $url{$tinyurl};
 print "$tinyurl => $url\n";

DESCRIPTION

Top

This module provides a very basic tied interface to the TinyURL.com web service.

SEE ALSO

Top

WWW::Shorten::TinyURL, http://www.tinyurl.com

VERSION

Top

$Id: TinyURL.pm 566 2006-06-01 18:38:40Z nicolaw $

AUTHOR

Top

Nicola Worthington <nicolaw@cpan.org>

http://perlgirl.org.uk

COPYRIGHT

Top


Tie-TinyURL documentation  | view source Contained in the Tie-TinyURL distribution.