Scroll to navigation

MooseX::GlobRef::Role::Meta::Instance(3pm) User Contributed Perl Documentation MooseX::GlobRef::Role::Meta::Instance(3pm)

NAME

MooseX::GlobRef::Role::Meta::Instance - Instance metaclass for MooseX::GlobRef

SYNOPSIS

  Moose::Util::MetaRole::apply_metaclass_roles(
      for_class => $caller,
      instance_metaclass_roles =>
          [ 'MooseX::GlobRef::Role::Meta::Instance' ],
  );

DESCRIPTION

This instance metaclass allows to store Moose object in glob reference of file handle. It is applied by MooseX::GlobRef.

METHODS

<<override>> create_instance() : Object
<<override>> clone_instance( instance : Object ) : Object
<<override>> get_slot_value( instance : Object, slot_name : Str ) : Any
<<override>> set_slot_value( instance : Object, slot_name : Str, value : Any ) : Any
<<override>> deinitialize_slot( instance : Object, slot_name : Str ) : Any
<<override>> is_slot_initialized( instance : Object, slot_name : Str ) : Bool
<<override>> weaken_slot_value( instance : Object, slot_name : Str )
<<override>> inline_create_instance( class_variable : Str ) : Str
<<override>> inline_slot_access( instance_variable : Str, slot_name : Str ) : Str
The methods overridden by this class.

SEE ALSO

MooseX::GlobRef, Moose::Meta::Instance, Moose.

AUTHOR

Piotr Roszatycki <dexter@cpan.org>

LICENSE

Copyright (c) 2007, 2008, 2009, 2010 Piotr Roszatycki <dexter@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as perl itself.

See <http://dev.perl.org/licenses/artistic.html>

2011-04-01 perl v5.40.0