Skip to content
Snippets Groups Projects
Commit ca4c7b48 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

cosmetics

parent 58bacd9b
Branches
No related tags found
No related merge requests found
...@@ -6,8 +6,10 @@ use strict; ...@@ -6,8 +6,10 @@ use strict;
sub new sub new
{ {
my $class= shift; my $class= shift;
my $self={}; my $self={};
bless $self, $class; bless $self, $class;
$self->set (@_); $self->set (@_);
$self; $self;
} }
...@@ -16,6 +18,7 @@ sub set ...@@ -16,6 +18,7 @@ sub set
{ {
my $self= shift; my $self= shift;
my %par= @_; my %par= @_;
foreach my $an (keys %par) { $self->{$an}= $par{$an}; } foreach my $an (keys %par) { $self->{$an}= $par{$an}; }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment