[root@vm1 graphite-collector]# ./eseries-metrics-collector.pl -n -c proxy-config.conf
Type of arg 1 to keys must be hash (not hash element) at ./eseries-metrics-collector.pl line 334, near "} ) "
Type of arg 1 to keys must be hash (not hash element) at ./eseries-metrics-collector.pl line 336, near "} ) "
Execution of ./eseries-metrics-collector.pl aborted due to compilation errors.
[root@vm1 graphite-collector]# perl -V
Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
On another system with 5.16 no problem, but 5.24 has the problem.
[root@vm1 graphite-collector]# ./eseries-metrics-collector.pl -n -c proxy-config.conf Type of arg 1 to keys must be hash (not hash element) at ./eseries-metrics-collector.pl line 334, near "} ) " Type of arg 1 to keys must be hash (not hash element) at ./eseries-metrics-collector.pl line 336, near "} ) " Execution of ./eseries-metrics-collector.pl aborted due to compilation errors.
[root@vm1 graphite-collector]# perl -V Summary of my perl5 (revision 5 version 24 subversion 0) configuration:
On another system with 5.16 no problem, but 5.24 has the problem.
I made some updates like this and it fixed it:
diff eseries-metrics-collector.pl eseries-metrics-collector-v2.pl 334c334
< foreach my $vols ( keys $met_coll->{$system} ) {
If you can fix in master please. Thanks!