view Lib/IMPL/Object/Fields.pm @ 280:c6d0f889ef87

+IMPL::declare now supports meta attributes *bugfixes related to the typeof() operator
author cin
date Wed, 06 Feb 2013 02:15:48 +0400
parents 4d0e1962161c
children
line wrap: on
line source

package IMPL::Object::Fields;
use strict;
use warnings;

use parent qw(IMPL::Object::Abstract);

sub new {
    my $class = shift;
    
    $class = ref $class || $class;
    
    my $this = fields::new($class);
    $this->callCTOR(@_);
    
    return $this;
}

sub surrogate {
    my $class = shift;
    
    $class = ref $class || $class;
    
    return fields::new($class);
}

1;