| File-Stat-Moose documentation | view source | Contained in the File-Stat-Moose distribution. |
MooseX::Types::OpenHandle - Type for opened file handle
package My::Class; use Moose; use MooseX::Types::OpenHandle; has statfh => ( isa => 'OpenHandle' ); package main; stat "/etc/passwd"; my $obj = My::Class->new( statfh => \*_ );
This module provides Moose type which represents opened file handle (glob reference or object).
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.
| File-Stat-Moose documentation | view source | Contained in the File-Stat-Moose distribution. |