NAME
WWW::Expand::More - The expander for shorten URL
SYNOPSIS
use WWW::Expand::More;
my $expanded_url = WWW::Wxpand::More->expand('http://exsample.com/foo');
my @expanded_urls = WWW::Wxpand::More->expand_all('http://exsample.com/foo');
# options
print WWW::Wxpand::More->expand('http://exsample.com/foo' => {
timeout => 1,
agent => 'YourUA/1.0',
});
DESCRIPTION
WWW::Expand::More is the expander for shorten URL.
METHODS
expand($url:Str, $opt:HashRef)
expand_all($url:Str, $opt:HashRef)
$opt: HashRef
ua
The User Agent Object that needs to have compatiblity with an interface of Furl.
timeout => $sec
agent => $agent_name
cache => boolean
If you set true value on cache
option, then the expanded URL will cache.
REPOSITORY
WWW::Expand::More is hosted on github: http://github.com/bayashi/WWW-Expand-More
I appreciate any feedback :D
AUTHOR
Dai Okabayashi <bayashi@cpan.org>
SEE ALSO
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.