Mercurial > pub > Impl
view Lib/DOM.pm @ 35:f25d021780b3
DOM::Navigator::Builder working version
author | Sergey |
---|---|
date | Tue, 17 Nov 2009 17:46:24 +0300 |
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;