Mercurial > pub > Impl
view Lib/DOM.pm @ 25:9dd67fa91ee3
small fix in the dom schema
works under text schema
author | Sergey |
---|---|
date | Tue, 13 Oct 2009 17:51:25 +0400 |
parents | 03e58a454b20 |
children | 16ada169ca75 |
line wrap: on
line source
package DOM; require DOM::Site; use Common; my $GlobalSite; sub Site { my $self = shift; $GlobalSite = construct DOM::Site if not $GlobalSite; return $GlobalSite; } sub Cleanup { $GlobalSite->Dispose if $GlobalSite; undef $GlobalSite; } 1;