annotate Lib/IMPL/Object/ArrayObject.pm @ 24:7f00786f8210

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