Closed VadimPushtaev closed 9 years ago
use InfluxDB; InfluxDB->new(host => '192.168.0.93', port => 8086, username => 'root', password => 'root', database => 'test'); InfluxDB->new(host => '192.168.0.93', port => 8086, username => 'root', password => 'root', database => 'test');
This code throws Odd number of parameters to new() at /usr/local/share/perl/5.14.2/Data/Validator.pm line 123.
Odd number of parameters to new() at /usr/local/share/perl/5.14.2/Data/Validator.pm line 123
I believe that's because of state $rule = Data::Validator->new(...) in the constructor.
state $rule = Data::Validator->new(...)
Thanks for your bug reporting! I've just released v1.003, You will available soon.
This code throws
Odd number of parameters to new() at /usr/local/share/perl/5.14.2/Data/Validator.pm line 123
.I believe that's because of
state $rule = Data::Validator->new(...)
in the constructor.