diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-09-04 23:05:48 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-09-04 23:05:48 +0200 |
commit | 791f736950dd63ff239e7fd743f4675ccb9c865f (patch) | |
tree | 6b1f9ed4878fc91008d0d2d2274cbc4ed7ce11ea /lib/AdminPanel/ConfigReader.pm | |
parent | bbb1d76c94e634bedc3a2243a32448ba5b961b81 (diff) | |
download | manatools-791f736950dd63ff239e7fd743f4675ccb9c865f.tar manatools-791f736950dd63ff239e7fd743f4675ccb9c865f.tar.gz manatools-791f736950dd63ff239e7fd743f4675ccb9c865f.tar.bz2 manatools-791f736950dd63ff239e7fd743f4675ccb9c865f.tar.xz manatools-791f736950dd63ff239e7fd743f4675ccb9c865f.zip |
Cleaned constructor code
Diffstat (limited to 'lib/AdminPanel/ConfigReader.pm')
-rw-r--r-- | lib/AdminPanel/ConfigReader.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/AdminPanel/ConfigReader.pm b/lib/AdminPanel/ConfigReader.pm index 718a381d..1c905c94 100644 --- a/lib/AdminPanel/ConfigReader.pm +++ b/lib/AdminPanel/ConfigReader.pm @@ -30,12 +30,12 @@ sub new { my ($class, $fileName) = @_; my $self = { - my $data = 0, - my $catLen = 0, - my $currCat = 0, - my $modLen = 0, - my $currMod = 0, - my $placeHolder = 0 + data => 0, + catLen => 0, + currCat => 0, + modLen => 0, + currMod => 0, + placeHolder => 0, }; bless $self, 'AdminPanel::ConfigReader'; |