Konrad Borowski
and 1 contributors

NAME

WWW::Expand - Expand any URL shortener link

SYNOPSIS

    use 5.010;
    use strictures 1;
    use WWW::Expand;
    
    print expand 'http://git.io/github';

DESCRIPTION

`expand()` is a function that expands any URL from URL shortener.

EXPORTS

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 ();
expand $url, %options

The only function in this module. It expands $url from URL shortener. It supports one option in %options.

agent

Can be either instance of LWP::UserAgent or string containing user agent name.

CAVEATS

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.

SEE ALSO

WWW::Lengthen, WWW::Shorten

AUTHOR

Konrad Borowski <glitchmr@myopera.com>

COPYRIGHT AND LICENSE

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.