Changeset 20808 for lang/perl

Show
Ignore:
Timestamp:
10/05/08 19:27:47 (5 years ago)
Author:
lopnor
Message:

lang/perl/Net-Amazon-HadoopEC2: start implimentation

Location:
lang/perl/Net-Amazon-HadoopEC2/trunk
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Net-Amazon-HadoopEC2/trunk/Makefile.PL

    r19875 r20808  
    44all_from 'lib/Net/Amazon/HadoopEC2.pm'; 
    55 
     6requires 'Moose'; 
     7 
    68WriteAll; 
    79 
  • lang/perl/Net-Amazon-HadoopEC2/trunk/lib/Net/Amazon/HadoopEC2.pm

    r19879 r20808  
    11package Net::Amazon::HadoopEC2; 
    2 use strict; 
    3 use warnings; 
    4  
     2use 5.008000; 
     3use Moose; 
    54our $VERSION = '0.01'; 
    65 
     6has 'aws_access_key_id' => ( 
     7    is => 'rw', 
     8    isa => 'Str', 
     9    required => 1, 
     10); 
     11 
     12has 'aws_secret_access_key' => ( 
     13    is => 'rw', 
     14    isa => 'Str', 
     15    required => 1, 
     16); 
     17 
     18no Moose; 
    7191; 
    820 
     
    3648This module is perl interface to work with Hadoop-EC2. 
    3749 
     50=head2 METHODS 
     51 
     52=over 4 
     53 
     54=item * new($hashref) 
     55 
     56constructor. Pass aws_access_key_id and aws_secret_access_key. 
     57 
     58=item * launch_cluster($hashref) 
     59 
     60 
     61=back 
     62 
    3863=head1 AUTHOR 
    3964