NAME

MooseX::GlobRef::Meta::Class::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 instance metaclass which allows to store Moose object in glob reference.

METHODS

instance_metaclass

Returns the class name of the instance metaclass.

SEE ALSO

"instance_metaclass" in Class::MOP::Class, 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.

See http://www.perl.com/perl/misc/Artistic.html