EZID

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::More" : "1.001006"
         }
      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : 0
         }
      },
      "runtime" : {
         "requires" : {
            "Modern::Perl" : "1.20140107",
            "String::Random" : "0.22"
         }
      }
   },
   "release_status" : "stable",
   "version" : "0.02"
}

META.yml  view on Meta::CPAN

license: unknown
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: EZID
no_index:
  directory:
    - t
    - inc
requires:
  Modern::Perl: 1.20140107
  String::Random: 0.22
version: 0.02

Makefile.PL  view on Meta::CPAN

use 5.014002;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    NAME              => 'EZID',
    VERSION_FROM      => 'lib/EZID.pm', # finds $VERSION
    PREREQ_PM         => {
        'Modern::Perl' => '1.20140107',
        'String::Random' => '0.22',
    },
    TEST_REQUIRES => {
        'Test::More' => '1.001006',
    },
    ($] >= 5.005 ?     ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM  => 'lib/EZID.pm', # retrieve abstract from module
       AUTHOR         => 'Julian <julian.maurice@biblibre.com>') : ()),
);

lib/EZID.pm  view on Meta::CPAN

package EZID;

use Modern::Perl;

use Encode;
use HTTP::Request::Common;
use LWP::UserAgent;
use URI::Escape;

our $VERSION = '0.02';

sub new {
    my ($class, $args) = @_;

t/EZID.t  view on Meta::CPAN

use Modern::Perl;
use Test::More tests => 9;
use String::Random qw(random_regex);

BEGIN { use_ok('EZID') };

my $ezid = new EZID({username => 'apitest', password => 'apitest'});
my $response;

$response = $ezid->get();
ok(not defined $response);

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.540 second using v1.00-cache-2.02-grep-82fe00e-cpan-f5108d614456 )