view Lib/IMPL/Object/ArrayObject.pm @ 190:cd1ff7029a63

IMLP::Web::View refactored, added new method 'require' which is available inside templates. Changed document rendering.
author cin
date Wed, 04 Apr 2012 17:51:27 +0400
parents 4267a2ac3d46
children
line wrap: on
line source

package IMPL::Object::ArrayObject;
use strict;
use warnings;

use parent qw(IMPL::Object::Abstract);

sub new {
    my $class = shift;
    my $self = bless [], ref $class || $class;
    $self->callCTOR(@_);
    return $self;
}
    
sub surrogate {
    return bless [], ref $_[0] || $_;
}

1;