Code

clean up Perl style a bit
authorMatthias Bethke <matthias.bethke@financial.com>
Wed, 10 Sep 2014 16:37:26 +0000 (18:37 +0200)
committerMatthias Bethke <matthias.bethke@financial.com>
Wed, 10 Sep 2014 16:39:52 +0000 (18:39 +0200)
commitbf66419c7726e85f31818d75aa521f4087719ca3
tree816d9e841814e6c93042c96b071534ac001ee860
parentdd2e6520f3c47ca4aeeea57b185a632ee16d39af
clean up Perl style a bit

- Remove some superfluous parenthesis clutter
- Shorten a lot of single-line conditionals using postfix constructions
- Merge variable declarations
- Use $class/$self instead of $pkg/$obj as is customary
- Remove quotes around literal hash keys
bindings/perl/lib/Collectd/Unixsock.pm