Piotr Roszatycki > IO-Moose > MooseX::Types::PerlIOLayerStr

Download:
IO-Moose-0.1004.tgz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Module Version: 0.1004   Source  

NAME ^

MooseX::Types::PerlIOLayerStr - Type for PerlIO layer string

SYNOPSIS ^

  package My::Class;
  use Moose;
  use MooseX::Types::PerlIOLayerStr;
  has file => ( isa => 'Str' );
  has layer => ( isa => 'PerlIOLayerStr' );

  package main;
  my $fin = My::Class->new( file => 'Changelog', layer => ':utf8' );

DESCRIPTION ^

This module provides Moose type which represents PerlIO layer string.

SEE ALSO ^

Moose::Util::TypeConstraints, IO::Moose, perlio.

AUTHOR ^

Piotr Roszatycki <dexter@cpan.org>

LICENSE ^

Copyright (C) 2007, 2008, 2009 by Piotr Roszatycki <dexter@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

syntax highlighting: