diff Lib/IMPL/Web/TDocument.pm @ 75:915df8fcd16f

docs small fixes
author wizard
date Tue, 30 Mar 2010 20:31:36 +0400
parents 16ada169ca75
children b1652a158b2b
line wrap: on
line diff
--- a/Lib/IMPL/Web/TDocument.pm	Mon Mar 29 17:40:06 2010 +0400
+++ b/Lib/IMPL/Web/TDocument.pm	Tue Mar 30 20:31:36 2010 +0400
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-use base qw(IMPL::DOM::Node IMPL::Object::Disposable);
+use base qw(IMPL::DOM::Document IMPL::Object::Disposable);
 use Template::Context;
 use Template::Provider;
 use IMPL::Class::Property;
@@ -15,7 +15,7 @@
 }
 
 our %CTOR = (
-    'IMPL::DOM::Node' => sub { nodeName => 'document' }
+    'IMPL::DOM::Document' => sub { nodeName => 'document' }
 );
 
 sub Provider {
@@ -100,6 +100,8 @@
 
 =head1 SYNOPSIS
 
+=begin code 
+
 // create new document
 my $doc = new IMPL::Web::TDocument;
 
@@ -109,6 +111,8 @@
 // render file
 print $doc->Render();
 
+=end code
+
 =head1 DESCRIPTION
 
 Документ, основанный на шаблоне Template::Toolkit. Позволяет загрузить шаблон,