Acme-URL
view release on metacpan or search on metacpan
Bareword URL performing HTTP request hocus pocus!
VERSION
Acme::URL 0.01
SYNOPSIS
use Modern::Perl;
use JSON qw(decode_json);
use Acme::URL;
# print the json
say http://twitter.com/statuses/show/6592721580.json;
# => "He nose the truth."
say decode_json( http://twitter.com/statuses/show/6592721580.json )->{text};
lib/Acme/URL.pm view on Meta::CPAN
=head1 VERSION
Version 0.01
=head1 SYNOPSIS
URL without any strings attached performing a HTTP request returning the content:
use Modern::Perl;
use JSON qw(decode_json);
use Acme::URL;
# print the json
say http://twitter.com/statuses/show/6592721580.json;
# => "He nose the truth."
say decode_json( http://twitter.com/statuses/show/6592721580.json )->{text};
( run in 0.518 second using v1.01-cache-2.11-cpan-a5abf4f5562 )