view Lib/DOM.pm @ 12:955b2324c1bf

Работа над навигаторами и схемой DOM модели
author Sergey
date Mon, 31 Aug 2009 01:37:43 +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;