Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use Any::Moose

  • Loading branch information...
commit 40133ad8f7ec85a8a375d3f28a78d7f0c731e7f0 1 parent 059d9bd
@miyagawa authored
Showing with 2 additions and 27 deletions.
  1. +0 −25 META.yml
  2. +1 −1  Makefile.PL
  3. +1 −1  lib/WWW/NicoVideo/Download.pm
View
25 META.yml
@@ -1,25 +0,0 @@
----
-abstract: 'Download FLV/MP4/SWF files from nicovideo.jp'
-author:
- - 'Tatsuhiko Miyagawa <miyagawa@cpan.org>'
-build_requires:
- Test::More: 0
-distribution_type: module
-generated_by: 'Module::Install version 0.77'
-license: perl
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
-name: WWW-NicoVideo-Download
-no_index:
- directory:
- - inc
- - t
-requires:
- CGI::Simple: 0
- LWP::UserAgent: 0
- Moose: 0
- perl: 5.8.1
-resources:
- license: http://dev.perl.org/licenses/
-version: 0.01
View
2  Makefile.PL
@@ -3,7 +3,7 @@ name 'WWW-NicoVideo-Download';
all_from 'lib/WWW/NicoVideo/Download.pm';
requires 'LWP::UserAgent';
-requires 'Moose';
+requires 'Any::Moose';
requires 'CGI::Simple';
build_requires 'Test::More';
View
2  lib/WWW/NicoVideo/Download.pm
@@ -8,7 +8,7 @@ use Carp;
use LWP::UserAgent;
use CGI::Simple;
-use Moose;
+use Any::Moose;
has 'email', is => 'rw', isa => 'Str';
has 'password', is => 'rw', isa => 'Str';
has 'user_agent', is => 'rw', isa => 'LWP::UserAgent', default => sub {
Please sign in to comment.
Something went wrong with that request. Please try again.