Acme-URL

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN



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};


DESCRIPTION

examples/simple.pl  view on Meta::CPAN

#!/usr/bin/env perl

use strict;
use warnings;
use 5.010;
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};


=head1 DESCRIPTION



( run in 1.537 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )