Mercurial > pub > Impl
diff Lib/DOM.pm @ 49:16ada169ca75
migrating to the Eclipse IDE
author | wizard@linux-odin.local |
---|---|
date | Fri, 26 Feb 2010 10:49:21 +0300 |
parents | 03e58a454b20 |
children |
line wrap: on
line diff
--- a/Lib/DOM.pm Fri Feb 26 01:43:42 2010 +0300 +++ b/Lib/DOM.pm Fri Feb 26 10:49:21 2010 +0300 @@ -1,19 +1,19 @@ -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; \ No newline at end of file +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;