view Lib/IMPL/Object/Fields.pm @ 172:068acfe903c3

corrected schema resolution mechanism
author sourcer
date Mon, 20 Jun 2011 23:42:44 +0400
parents 4267a2ac3d46
children d1676be8afcc
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;