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 |
|
rev |
line source |
49
|
1 package IMPL::Object::ArrayObject;
|
|
2 use strict;
|
|
3 use warnings;
|
|
4
|
166
|
5 use parent qw(IMPL::Object::Abstract);
|
49
|
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
|