view Lib/IMPL/Web/TDocument.pm @ 6:e2cd73ccc5bd

DOM In development
author Sergey
date Fri, 14 Aug 2009 16:14:13 +0400
parents
children 94d47b388442
line wrap: on
line source

package IMPL::Web::TDocument;
use strict;
use warnings;

use base qw(IMPL::DOM::Node);
use Template::Context;
use Template::Provider;
use IMPL::Class::Property;
use File::Spec;

BEGIN {
    public property Templates => prop_get | owner_set;
    public property Context => prop_get | owner_set;
}

our %CTOR = (
    'IMPL::DOM::Node' => sub { nodeName => 'document' }
);

sub load {
    my ($this,$file) = @_;
    
    $file = File::Spec->rel2abs($file);
    
}

1;