Mercurial > pub > Impl
view Lib/DOM.pm @ 116:1722ca51537c
minor changes.
Auth no more throws an exception when fails
author | wizard |
---|---|
date | Mon, 31 May 2010 08:30:39 +0400 |
parents | 16ada169ca75 |
children |
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;