view Lib/IMPL/Object/ArrayObject.pm @ 90:dc1da0389db7

Small improvements in the abstract object class Added support for a class data, documentation Additional tests for the new functionality
author wizard
date Mon, 26 Apr 2010 03:10:03 +0400
parents 16ada169ca75
children 4267a2ac3d46
line wrap: on
line source

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

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