Filewatcher File Search File Search
Catalog
Content Search
» » » » »

MooseX-Types-Ro-0.002.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:MooseX-Types-Ro-0.002.tar.gz

/MooseX-Types-Ro-0.002/README

NAME
    MooseX::Types::Ro - Moose type constraints for read-only containers

SYNOPSIS
        package Foo;

        use Moose;
        use MooseX::Types::Ro qw(RoArrayRef RoHashRef);

        has array => ( is => 'ro', isa => RoArrayRef, coerce => 1 );
        has hash => ( is => 'ro', isa => RoHashRef, coerce => 1 );

        my $foo = Foo->new(array => [1, 2, 3], hash => { foo => 1, bar => 2 })
more»

/MooseX-Types-Ro-0.002/README.pod

=head1 NAME

MooseX::Types::Ro - Moose type constraints for read-only containers

=head1 SYNOPSIS

    package Foo;

    use Moose;
    use MooseX::Types::Ro qw(RoArrayRef RoHashRef);

    has array => ( is => 'ro', isa => RoArrayRef, coerce => 1 );
    has hash => ( is => 'ro', isa => RoHashRef, coerce => 1 );

    my $foo = Foo->new(array => [1, 2, 3], hash => { foo => 1, bar => 2 });

    # The
more»

/MooseX-Types-Ro-0.002/inc/Module/Install/ReadmeFromPod.pm

#line 1
package Module::Install::ReadmeFromPod;

use strict;
use warnings;
use base qw(Module::Install::Base);
use vars qw($VERSION);

$VERSION = '0.06';

sub readme_from {
  my $self = shift;
  return unless $Module::Install::AUTHOR;
  my $file = shift || return;
  my $clean = shift;
  require Pod::Text;
  my $parser = Pod::Text->new();
  open README, '> README' or die "$!\n";
  $parser->output_f
more»

/MooseX-Types-Ro-0.002/inc/Module/Install/ReadmePodFromPod.pm

#line 1
package Module::Install::ReadmePodFromPod;
use strict;
use warnings;
use base qw(Module::Ins
more»

/MooseX-Types-Ro-0.002/Changes

Revision history for MooseX::Types::Ro

0.002 - 2010-01-28
    - Add missing namespace::autoclean pr
more»

Browse inside MooseX-Types-Ro-0.002.tar.gz

         [DIR]MooseX-Types-Ro-0.002/ (9)

Download MooseX-Types-Ro-0.002.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com