WWW::Expand - Expand any URL shortener link
use 5.010; use strictures 1; use WWW::Expand; print expand 'http://git.io/github';
`expand()` is a function that expands any URL from URL shortener.
All functions are exported using Exporter. If you don't want this (but why you would use this module then) try importing it using empty list of functions.
use WWW::Expand ();
The only function in this module. It expands $url from URL shortener. It supports one option in %options.
$url
%options
Can be either instance of LWP::UserAgent or string containing user agent name.
This module tries to expand every URL, even if it isn't from URL shortener. This could be what you want, but if not, try module such as WWW::Lengthen.
WWW::Lengthen, WWW::Shorten
Konrad Borowski <glitchmr@myopera.com>
This software is copyright (c) 2012 by Konrad Borowski.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WWW::Expand, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Expand
CPAN shell
perl -MCPAN -e shell install WWW::Expand
For more information on module installation, please visit the detailed CPAN module installation guide.