MooseX::Types::OpenModeWithLayerStr - Type for mode string with PerlIO layer
package My::Class; use Moose; use MooseX::Types::OpenModeWithLayerStr; has file => ( isa => 'Str' ); has mode => ( isa => 'OpenModeWithLayerStr' ); package main; my $fout = My::Class->new( file => '/tmp/pwdnew', mode => '>:crlf' );
This module provides Moose type which represents Perl-style canonical open mode string (i.e. "+>") with additional PerlIO layer.
Piotr Roszatycki <firstname.lastname@example.org>
Copyright (C) 2007, 2008, 2009 by Piotr Roszatycki <email@example.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.