Mercurial > pub > Impl
view Lib/IMPL/Object/Meta.pm @ 52:15d720913562
security in work
author | wizard@linux-odin.local |
---|---|
date | Tue, 02 Mar 2010 20:12:02 +0300 |
parents | 16ada169ca75 |
children | 76b878ad6596 |
line wrap: on
line source
package IMPL::Object::Meta; use strict; use warnings; use base qw(IMPL::Object); use IMPL::Class::Property; use IMPL::Class::Property::Direct; BEGIN { public _direct property Container => prop_get; } sub meta { my $class = shift; my $caller = caller; my $meta = $class->surrogate(); $meta->{$Container} = $caller; $meta->callCTOR(@_); $caller->set_meta($meta); } 1;