view Lib/IMPL/Object/Fields.pm @ 164:eb3e9861a761

SQL traits in progress
author wizard
date Mon, 28 Mar 2011 01:36:24 +0400
parents
children 4267a2ac3d46
line wrap: on
line source

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

use base 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;