Subject: | host is required, despite documentation otherwise |
The documentation insists:
my $kes = Net::Kestrel->new; # defaults to host => 127.0.0.1, port =>
2222
Reality suggests otherwise:
Attribute (host) is required at /home/diz/perl5/perlbrew/perls/perl-
5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP/Class.pm line 524
The code appears to support reality:
has 'host' => (
is => 'ro',
isa => 'Str',
required => 1
);