Mercurial > pub > Impl
view Lib/DOM.pm @ 45:1b1fb9d54f55
Starting web-application concept
author | Sergey |
---|---|
date | Fri, 29 Jan 2010 16:19:31 +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;