Piotr Roszatycki > File-Stat-Moose-0.06 > MooseX::Types::OpenHandle

Download:
File-Stat-Moose-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.06   Source  

NAME ^

MooseX::Types::OpenHandle - Type for opened file handle

SYNOPSIS ^

  package My::Class;
  use Moose;
  use MooseX::Types::OpenHandle;
  has statfh => ( isa => 'OpenHandle' );

  package main;
  stat "/etc/passwd";
  my $obj = My::Class->new( statfh => \*_ );

DESCRIPTION ^

This module provides Moose type which represents opened file handle (glob reference or object).

SEE ALSO ^

Moose::Util::TypeConstraints, File::Stat::Moose.

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: