Mercurial > pub > Impl
view Lib/IMPL/DOM/Document.pm @ 31:d59526f6310e
Small fixes to Test framework (correct handlinf of the compilation errors in the test units)
Imported and refactored SQL DB schema from the old project
author | Sergey |
---|---|
date | Mon, 09 Nov 2009 01:39:16 +0300 |
parents | 7f00786f8210 |
children | 1828103371d0 |
line wrap: on
line source
package IMPL::DOM::Document; use strict; use warnings; use base qw(IMPL::DOM::Node); __PACKAGE__->PassThroughArgs; sub Create { my ($this,$nodeName,$class,$refProps) = @_; $refProps ||= {}; delete $refProps->{nodeName}; return $class->new( nodeName => $nodeName, %$refProps ); } 1; __END__ =pod =head1 DESCRIPTION =head1 METHODS =over =item C<<$doc->Create>> Создает узел определеннго типа с определенным именем и свойствами. =back =cut