view Lib/IMPL/Object/ArrayObject.pm @ 284:f2a6bc5f3184

+IMPL::Object::InlineFactory: implement object factory as subroutine
author sergey
date Thu, 14 Feb 2013 19:14:02 +0400
parents 4267a2ac3d46
children
line wrap: on
line source

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

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

sub new {
    my $class = shift;
    my $self = bless [], ref $class || $class;
    $self->callCTOR(@_);
    return $self;
}
    
sub surrogate {
    return bless [], ref $_[0] || $_;
}

1;