Can't locate object method "sockhostname" via pac

Problems with packages? Post here, using [tags] of the package name.

Can't locate object method "sockhostname" via pac

Postby korsani » Thu Nov 02, 2017 7:55 pm

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.
korsani
 
Posts: 1
Joined: Thu Nov 02, 2017 7:53 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 1 guest