annotate Lib/IMPL/Object/ArrayObject.pm @ 197:6b1dda998839

Added IMPL::declare, IMPL::require, to simplify module definitions IMPL::Transform now admires object inheritance while searching for the transformation Added HTTP some exceptions IMPL::Web::Application::RestResource almost implemented
author sergey
date Thu, 19 Apr 2012 02:10:02 +0400
parents 4267a2ac3d46
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
1 package IMPL::Object::ArrayObject;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
2 use strict;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
3 use warnings;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
4
166
4267a2ac3d46 Added Class::Template,
wizard
parents: 49
diff changeset
5 use parent qw(IMPL::Object::Abstract);
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
6
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
7 sub new {
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
8 my $class = shift;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
9 my $self = bless [], ref $class || $class;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
10 $self->callCTOR(@_);
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
11 return $self;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
12 }
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
13
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
14 sub surrogate {
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
15 return bless [], ref $_[0] || $_;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
16 }
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
17
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
18 1;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 2
diff changeset
19