BIE-Data-HDF5-Data

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN

use 5.014002;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
	      NAME              => 'BIE::Data::HDF5::Data',
	      VERSION_FROM      => 'lib/BIE/Data/HDF5/Data.pm', # finds $VERSION
	      PREREQ_PM         => {'BIE::Data::HDF5' => 0.02,
				    'namespace::autoclean' => 0.13,
				    'Moose' => 2.0,
				   }, # e.g., Module::Name => 1.1
	      ($] >= 5.005 ? ## Add these new keywords supported since 5.005
	       (ABSTRACT_FROM  => 'lib/BIE/Data/HDF5/Data.pm', # retrieve abstract from module
		AUTHOR         => 'Xin Zheng <zhengxin@mail.nih.gov>') : ()),
	     );

README  view on Meta::CPAN

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

  BIE::Data::HDF5
  namespace::autoclean
  Moose

COPYRIGHT AND LICENCE

Copyright (C) 2012 by Xin Zheng

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.14.2 or,
at your option, any later version of Perl 5 you may have available.

lib/BIE/Data/HDF5/Data.pm  view on Meta::CPAN

package BIE::Data::HDF5::Data;
our $VERSION = '0.01';
use Moose;
use namespace::autoclean;
use v5.10;
use BIE::Data::HDF5 ':all';

has 'name' => (
	       is => 'ro',
	       isa => 'Str',
	       lazy => 1,
	       default => sub {
		 my $self = shift;
		 h5name($self->id);



( run in 0.250 second using v1.01-cache-2.11-cpan-4d50c553e7e )