Mercurial > pub > Impl
annotate lib/IMPL/Object/ArrayObject.pm @ 420:df591e3afd10 ref20150831
sync
| author | cin |
|---|---|
| date | Sat, 25 Feb 2017 22:35:26 +0300 |
| parents | c6e90e02dd17 |
| children |
| rev | line source |
|---|---|
| 407 | 1 package IMPL::Object::ArrayObject; |
| 2 use strict; | |
| 3 use warnings; | |
| 4 | |
| 5 use parent qw(IMPL::Object::Abstract); | |
| 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 |
