annotate Lib/IMPL/Object/ArrayObject.pm @ 48:1c3c3e63a314

security in progress
author Sergey
date Fri, 26 Feb 2010 01:43:42 +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