MooseX::Types::CacheFileHandle - Type for special cached file handle
package My::Class; use Moose; use MooseX::Types::CacheFileHandle; has fh => ( isa => 'CacheFileHandle' ); package main; my $obj = My::Class->new( fh => \*_ );
This module provides Moose type which represents special cached file handle - underscore (_) - which is used for stat tests.
_
stat
Moose::Util::TypeConstraints, File::Stat::Moose.
Piotr Roszatycki <dexter@cpan.org>
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
To install File::Stat::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Stat::Moose
CPAN shell
perl -MCPAN -e shell install File::Stat::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.