Description:
When used with anything than 127.0.0.1, or localhost or '' as $host, this :
#!/usr/bin/perl -w
use HTTP::Daemon;
use HTTP::Status;
my $host;
my $d = HTTP::Daemon->new(
LocalAddr=>$host,
LocalPort=>8020
);
say :
Can't locate object method "sockhostname" via package "▒"
HTTP::Daemon is in same version on my Debian (on BeagleBoneBlack) and this do not bug there.
Additional info:
* package version(s)
perl-http-daemon 6.01-5
This is perl 5, version 26, subversion 1 (v5.26.1) built for armv6l-linux-thread-multi
* config and/or log files etc.
Arch linux on raspberry pi.
Steps to reproduce:
Copy, paste and run the script.