BoutrosLab-TSVStream

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    requires => {
		'List::MoreUtils' => '0.33',
		'Module::Build' => '0.421',
		'Moose' => '2.1208',
		'Moose::Role' => '2.1208',
		'Moose::Util' => '2.1403',
		'Moose::Util::TypeConstraints' => '2.1208',
		'MooseX::ClassAttribute' => '0.27',
		'MooseX::Types' => '0.45',
		'MooseX::Types::Moose' => '0.45',
		'Try::Tiny' => '0.22',
    }
);

$builder->create_build_script();

META.json  view on Meta::CPAN

         "requires" : {
            "List::MoreUtils" : "0.33",
            "Module::Build" : "0.421",
            "Moose" : "2.1208",
            "Moose::Role" : "2.1208",
            "Moose::Util" : "2.1403",
            "Moose::Util::TypeConstraints" : "2.1208",
            "MooseX::ClassAttribute" : "0.27",
            "MooseX::Types" : "0.45",
            "MooseX::Types::Moose" : "0.45",
            "Try::Tiny" : "0.22"
         }
      }
   },
   "provides" : {
      "BoutrosLab::TSVStream" : {
         "file" : "lib/BoutrosLab/TSVStream.pm",
         "version" : "v0.5.4"
      },
      "BoutrosLab::TSVStream::Format" : {
         "file" : "lib/BoutrosLab/TSVStream/Format.pm"

META.yml  view on Meta::CPAN

requires:
  List::MoreUtils: '0.33'
  Module::Build: '0.421'
  Moose: '2.1208'
  Moose::Role: '2.1208'
  Moose::Util: '2.1403'
  Moose::Util::TypeConstraints: '2.1208'
  MooseX::ClassAttribute: '0.27'
  MooseX::Types: '0.45'
  MooseX::Types::Moose: '0.45'
  Try::Tiny: '0.22'
resources:
  license: http://dev.perl.org/licenses/
version: v0.5.4
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

lib/BoutrosLab/TSVStream/IO/Role/Base/Fixed.pm  view on Meta::CPAN

package BoutrosLab::TSVStream::IO::Role::Base::Fixed;

# safe Perl
use warnings;
use strict;
use Carp;
use feature 'say';

use Moose::Role;
use namespace::autoclean;
use Try::Tiny;

# Base role for all reader/writer variants
#
# The BUILDARGS wrapper checks wheter a handle was proveded
# and, if not, opens the file provided and sets the handle
# to that newly opened fd.
#
# The class that consumes this role can add two extra entries
# to the arg list:
#     - _open_mode - the mode to be used for an open (usually

lib/BoutrosLab/TSVStream/IO/Role/Writer/Fixed.pm  view on Meta::CPAN

=head1 NAME

    BoutrosLab::TSVStream:Writer

=cut

use Moose::Role;
use Moose::Util::TypeConstraints;
use namespace::autoclean;
use List::MoreUtils qw(all zip);
use Try::Tiny;

with 'BoutrosLab::TSVStream::IO::Role::Base::Fixed';

has append => ( is => 'ro', lazy => 1, isa => 'Bool', default => '0' );

enum 'WriteHeaderType', [qw(write skip)];

has header => (
	is      => 'ro',
	lazy    => 1,



( run in 1.023 second using v1.01-cache-2.11-cpan-05444aca049 )