annotate Lib/IMPL/Object/ArrayObject.pm @ 24:7f00786f8210
Первая рабочая реазизация схемы и навигаторов
author |
Sergey |
date |
Mon, 05 Oct 2009 00:48:49 +0400 |
parents |
78cd38551534 |
children |
16ada169ca75 |
rev |
line source |
2
|
1 package IMPL::Object::ArrayObject;
|
|
2 use strict;
|
|
3 use warnings;
|
|
4
|
|
5 use base qw(IMPL::Object::Abstract);
|
|
6
|
|
7 sub new {
|
|
8 my $class = shift;
|
|
9 my $self = bless [], ref $class || $class;
|
|
10 $self->callCTOR(@_);
|
|
11 return $self;
|
|
12 }
|
|
13
|
|
14 sub surrogate {
|
|
15 return bless [], ref $_[0] || $_;
|
|
16 }
|
|
17
|
|
18 1;
|
|
19
|