ern::Perl;
use Digest::MD5 qw( md5_hex );
use File::Find;
use File::stat;
use HTTP::Lite;
use JSON;
use version;
our $VERSION = qv( 1.0.1 );
use constant BASE_URI => 'http://discident.com/v1';
unless 200 == $code;
return $http->body()
if $raw;
return from_json $http->body()
}
sub query_url {
my $self = shift;
my $ident = shift // $self->ident();