NAME
Moose::Meta::Class::Custom::Trait::GlobRef - Class trait for GlobRef
SYNOPSIS
package My::IO;
use Moose -traits => 'GlobRef';
has 'filename' => ( is => 'ro', isa => 'Str', required => 1 );
DESCRIPTION
This custom class trait registers implementation of role which allows to store Moose object in glob reference.
METHODS
- register_implementation
-
Return the real class name of the trait.
SEE ALSO
"METACLASS TRAITS" in Moose, MooseX::GlobRef::Object.
AUTHOR
Piotr Roszatycki <dexter@debian.org>
LICENSE
Copyright (C) 2007, 2008 by Piotr Roszatycki <dexter@debian.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.