use strict;
-my $instance;
-
sub new {
$main::lxdebug->enter_sub();
my ($type, $menufile) = @_;
- if ($instance) {
- $::lxdebug->leave_sub;
- return $instance;
- }
-
my $self = {};
my $inifile = Inifile->new($menufile);
$main::lxdebug->leave_sub();
- return $instance = $self;
+ return $self;
}
sub menuitem_js {