annotate Lib/IMPL/Object/ArrayObject.pm @ 44:32d2350fccf9

ORM *Minor fixes *Working tarnsform to sql *Fixes to the sql traits
author Sergey
date Mon, 11 Jan 2010 01:42:00 +0300
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